Tagged: admin bar
Hi, I have an issue with the WORDPRESS standard ADMIN BAR showing when not logged into wordpress. Or rather I should say that the SPACE at the top of the browser is displaying when not logged in. This is the area that the WORDPRESS ADMIN BAR would normally take up. However, no options are visible in the bar. It is just a ghost of the space and background.
I have attempted multiple fixes to get rid of the space.
Reinstalled – WordPress
Reinstalled – Enfold
Reinstalled – Enfold Child
Deactivated all Plugins
Turned Off Admin Bar for User
Tried Multiple Configurations of the header layout (bar still visible in all)
From what I can see in the source code a style is being added – but I cannot figure where or how. Although, it might not be this causing the issue – it’s just my best guess. I have many instals of enfold and this is the first time I’ve had this problem.
<style type=”text/css” media=”screen”>
html { margin-top: 32px !important; }
* html body { margin-top: 32px !important; }
@media screen and ( max-width: 782px ) {
html { margin-top: 46px !important; }
* html body { margin-top: 46px !important; }
}
No caching plugin or cloudflare is active on the site btw. And I’ve check on multiple on computers and the issue is present on all devices.
Any ideas about a fix?
Further to this…
I think for some reason when enfold is the active theme – wordpress seems to be acting like a user is logged in. when in fact they are not.
When I switch themes to standard Twenty Seventeen Theme the above issues go away. Only to return when Enfold theme is activated.