Fixed position of site header, logo and custom menu
-
Hi! ;-)
I need help to make the position of the site logo and custom menu fixed both on monitors, phones and tablets.When I use the code CSS .site-header{ position: fixed; } it stays fixed but is displayed underneath the large images. It probably has something to do with the z-index …
Anyhow I really need some help fixing this – Any suggestions?
I need help with http://www.cafeopera.wordpress.com built in Resonar Theme.
Best regards
StineThe blog I need help with is: (visible only to logged in users)
-
Hi Stine, add the following to your custom CSS and see what you think.
#masthead { position: fixed; top: 0; z-index: 1; background-color: #fff; } .logged-in #masthead { top: 32px; } -
-
- The topic ‘Fixed position of site header, logo and custom menu’ is closed to new replies.