Admin bar blocking moved navigation menu
-
Website: searocksblog.wordpress.com (with premium upgrade)
Theme: Big BrotherI have moved my navigation menu up to the top of my site and made it stick there, however if someone is logged in the wordpress admin bar blocks the menu bar.
Is it possible to make the navigation menu move down to below the admin bar if a person is logged in? But otherwise stay at the top of the site?
I’m using to move the navigation menu and make it sticky.
#site-navigation{ position: fixed; width: 100%; padding-top:5px; top: 0; }The blog I need help with is: (visible only to logged in users)
-
Hi,
Give a try to this, will move the menu just below the admin bar:
.logged-in #site-navigation { position: fixed; width: 100%; padding-top: 5px; top: 31px; }
- The topic ‘Admin bar blocking moved navigation menu’ is closed to new replies.