• Hello,

    I am currently building out a camping website and noticed a strange white bar with the text ); on the top of my website. It appears on every page and different browsers. When I inspect the white space it seems to be related to:

    <body itemscope=”itemscope” itemtype=”https://schema.org/CreativeWork&#8221; class=”home page-template-default page page-id-34 logged-in admin-bar custom-background customize-support”>);

    <script type=”text/javascript”>
    jQuery(document).ready(function(){
    jQuery(‘img[usemap]’).rwdImageMaps();
    });

    I cannot find the correct file to update to remove the space and text. Any suggestions

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi there mdunphy, it looks like Google tag manager wasn’t setup correctly. This might be a feature of your theme, where you put the code in the header or it might be in your header.php file, or it might be in your functions.php file or it might be in a plugin.

    If you look at the source code if your website, you’ll see the following:
    <script async src=”https://www.googletagmanager.com/gtag/js?id=UA-114590418-1″></script&gt;
    <script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag(‘js’, new Date());

    gtag(‘config’, ‘UA-114590418-1’);
    </script>);
    </script>

    Thread Starter mdunphy

    (@mdunphy)

    Hey David,
    Thank you for the quick response. I re-installed the header.php and the functions.php files and still have issue. Deactivated all plugins and the bar went away! Seems like one of the plugins was causing the issue. I believe it was caused by the Advanced Ad plugin

    There you go, so if you re-enable Advanced Ad, just make sure you investigate how it is configured. It looks like it adds in its own open and close script tags so if you have them in your configuration of that plugin, it might be causing that issue.

    Good luck!

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Moved to Fixing WordPress, this is not an Everything else WordPress topic.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Need help with Random White Space’ is closed to new replies.