Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #591848

    A space has appeared at the top of the site of about 30px above the header area. This also leaves a space when scrolling down the page can you please check it out for me and let me know what i can do to fix it… look below in the private area for the website URL and code that was added.

    You just need to scroll down on the homepage and you will see the space appear, it also shows as a brown colour when not scrolling.

    • This topic was modified 8 years, 1 month ago by Ron. Reason: Spelling mistake
    #592215

    Hi Ron!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    #header {
        top: 0;
    }
    .html_header_top.html_header_topbar_active.html_header_sticky.html_large #top #main {
        padding-top: 118px;
    }

    Cheers!
    Yigit

    #596853

    Thank you! I had the same issue!

    #596869

    Hey!

    You are welcome! We will keep the thread open for the OP. If you have any other questions or issues, please feel free to start a new thread

    Cheers!
    Yigit

    #599349

    Hi Yigit

    I need to add Google remarketing code I am not using a child theme on the site so where can I add the code in the functions.php. I have seen this post – https://kriesi.at/support/topic/add-google-remarketing-code/ but i am not sure where to add the code in the complete function.php file.

    #599353

    Hi!

    We recommend using a child theme so all your customisation wont get lost when you update the theme :)

    You can add the following code in Enfold/header.php file after the </head>

    If you do not want to use a child theme please go to Enfold theme options > Google Analytics Tracking Code and paste your code there.

    Cheers!
    Vinay Kashyap

    #599359

    Hi Vinnie

    I tried this Enfold theme options > Google Analytics Tracking Code and paste your code there. but was notified by the Google team that the code could not be read it needs to be moved to be INSIDE the body tag, they just called and said it wasn’t capturing any data.

    He said can we please delete this version of the code that is on line 131 of the Page Source and then re insert it inside the body tag. I have already removed the code from the tracking code section.

    #599493

    Hey!

    Ok it goes int he head section so in that case you need to download the child theme and copy the header.php file from main theme and paste it inside the child theme and add your code after the body tag. once it’s done.

    From Appearance > Themes > Select Child theme as active theme.

    keep everything else in the main theme as it is… simple :)

    Please view this link for more info kriesi.at/documentation/enfold/using-a-child-theme/

    for now if it is urgent you can just open header.php in the enfold theme folder and insert your code there but when you update the theme the changes will be lost.

    Cheers!
    Vinay Kashyap

    #600028

    Where in the header.php should it go?

    Also this is what I received from google this morning, I actually removed the code from the analytic section of the site so now I am asking if you added it back in somewhere on the site.

    Thanks for implementing the remarketing code, the only issue that is arising with the remarketing code now is that we need the code to be Updated to script based tracking. If you could let your web-developer know, he’ll be able to fix this minor issue.

    Can you also tell me what they mean by this “Updated to script based tracking”

    #601080

    Hey!

    Edit the header.php file then look for this code around line 61:

    <body id="top" <?php body_class($style." ".$avia_config['font_stack']." ".$blank." ".$sidebar_styling); avia_markup_helper(array('context' => 'body')); ?>>
    

    You can place the google code below.

    Cheers!
    Ismael

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.