Tagged: menu bar, sticky menu
-
AuthorPosts
-
November 21, 2014 at 1:29 am #354790
Hello!
I am looking for help as I updated my Enfold theme and WP to the latest versions today. (11-20-2014 @ 3pm)
After the update my sticky menu header now shows a black space above it which is actually a transparent section as you scroll down the page.I can’t fix it within any options that I have found. Any help is appreciated!
November 21, 2014 at 2:04 pm #355124Hi Paul!
Please try de-activating all active plugins and check if that helps
Cheers!
YigitNovember 21, 2014 at 6:14 pm #355382Deactivated 1 x 1 with refreshes and cache clearing. Deactivated all and reactivated 1 x 1 as well.
Nothing. I would really appreciate some help as this site is live. Let me know if there is anything else you can think of?
November 21, 2014 at 6:29 pm #355397Yigit!
I have discovered that it is my Google Analytics script tag that is causing this!!
Not sure what the change is, but I thought I would let you know in case someone else has the same issue.Any thoughts on how to fix this? I need to keep that script in their somehow.
- This reply was modified 10 years, 1 month ago by twenty1design.
November 21, 2014 at 7:36 pm #355463This reply has been marked as private.November 22, 2014 at 12:05 am #355704Hey!
@twenty1design, I see an iframe being inserted right below your body tag which is causing the space. Are you sure you have deactivated all plugins? It’s an iframe related to google ads, not google analytics. Send us a WordPress login and we’ll take a closer look.
@mchi8600, Deactivate all plugins and send us a link and we’ll take a look. You can set your reply as private if you wish.Regards,
Elliott- This reply was modified 10 years, 1 month ago by Elliott.
November 24, 2014 at 6:20 pm #357006Elliot,
What permissions do you need?All I know is that with ignoring plugins, if I remove the GA script then the space goes away.
November 24, 2014 at 7:08 pm #357045This reply has been marked as private.November 25, 2014 at 4:43 pm #357631Hi!
Go ahead and upgrade the login to administrator. I would like to deactivate your plugins while testing.
Cheers!
ElliottNovember 25, 2014 at 8:42 pm #357911November 26, 2014 at 6:10 pm #358406Hi!
Yes it looks like your adding a google ads script into the google analytics box as well which is displaying the iframe. Are you wanting to display google ads above your header?
Regards,
ElliottNovember 26, 2014 at 10:12 pm #358587To be honest I am not sure where that came from. Are you talking about the retargeting bit?
Thanks for helping me pinpoint it!- This reply was modified 10 years ago by twenty1design.
November 27, 2014 at 4:20 pm #359049Hi!
Yes, if your certain it was not you who added it and you do not have any other users then I would consider changing your password.
Best regards,
ElliottDecember 1, 2014 at 7:26 pm #360961Elliot,
I tried removing the google ads remarketing code (which I placed there months ago) and it doesn’t fix the issue.
Only when I remove the analytics code does the header space go away.This site has been live since September and never had an issue with analytics code until this latest update.
I realize you are saying the Google Ads code is the problem, but removing it doesn’t fix the issue.
December 1, 2014 at 11:42 pm #361163Hi!
Hmm, are you sure? I removed all of the code except the google analytics script that Google gives you and the space went away. I added it back in because it looks important.
This is the only code that should be in there.
<script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', '[your id]', 'auto'); ga('send', 'pageview'); </script>
But specifically, I think it’s the image element at the bottom of the field which is causing the space.
Best regards,
Elliott- This reply was modified 10 years ago by Elliott.
December 2, 2014 at 6:12 pm #361646If I removed them one by one, it was the analytics code. But then I removed all of them and copied them back in one by one and left out the retargeting code only. Now it is fixed!
Thanks for your time on this!
*RESOLVED*
-
AuthorPosts
- The topic ‘Broken header at WP 4.1 & Latest Enfold update.’ is closed to new replies.