• Hi,
    i’m using a child theme from the cuztomizr theme.
    A couple of days ago i used a function to move the featured pages underneath the body content, since then a white line underneath the admin bar appeared (about 12 pixel wide…) inet explorer and chrome show this line, firefox doens’t…. i inspect the code with chrome inspector and i find the error but don’t know where this line of code is written…..

    <body class="wp-admin wp-core-ui js  theme-editor-php auto-fold admin-bar branch-4 version-4-0 admin-color-midnight locale-de-de customize-support svg">?
    "
    "

    when i delete the quotation marks the line dissapear…or when i edit the code in chrome it shows me a red dot instead of the quotation marks, when deleted is everything fine again….

    Any ideas how can i fix it????

Viewing 8 replies - 1 through 8 (of 8 total)
  • Link to site?

    Thread Starter ag-alva

    (@ag-alva)

    i will deploy the site in a test server and poste the link in here

    Thread Starter ag-alva

    (@ag-alva)

    it took longer than i expected, because i couldn’t deploy the site using the child theme, i had to first activate the parent theme, upload and deploy the site and after that change the theme, well here is the link:

    https://testseite.besaba.com/

    it doen’t look bad, but it’s bothering me and i think it could bring problems in the future…

    thanks in advanced

    Thread Starter ag-alva

    (@ag-alva)

    i can’t insert images either in posts or seites, at first it looks like it’s loading, but it loads forever, everything is back to normal when i change the theme back to the parent customizr

    need help….anybody??

    Original query: The divider can be removed with:
    .home .featurette-divider {display: none;}

    Shouldn’t have to revert to Parent theme to deploy. Looking at your CT style.css:

    – Remove the opening @import as not required

    Site looks fine to me, but appreciate you may have backend issues. Contacted your Hosting for advice?

    Thread Starter ag-alva

    (@ag-alva)

    well i am designing the site in my laptop i just uploaded in a testserver so you can see where the white space is located…. i used duplicator plugin to deploy the site in the server but using the child (Damaged) theme wouldn’t work as it showed a lot of warnings and problems…. with the parent theme everything was fine and could upload the site….

    as i’ve said i used following function to place the body content before the featured pages

    // Move Customizr featured pages
    
    add_action ( 'wp_head' , 'move_my_fp');
    function move_my_fp() {
        //we unhook the featured pages
        remove_action  ( '__before_main_container', array( TC_featured_pages::$instance , 'tc_fp_block_display'), 10 );
    
        //we re-hook the block. Check out the priority here : set to 0 to be the first in the list of different actions hooked to this hook
        add_action  ( '__after_main_container', array( TC_featured_pages::$instance , 'tc_fp_block_display'), 1 );
    }

    im afraid this cause the problem, but can’t figure out where exactly….

    Code above looks OK to me.

    Can you catch the error/warnings and post them here or pastebin?

    Thread Starter ag-alva

    (@ag-alva)

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘white space between admin bar and body content’ is closed to new replies.