Header covers other header under admin-bar
-
Hi there:)
I have created a sticky header that includes 2 headers: header-1st-row and header-2nd row. They work fine in the live view without the admin-bar. But, when I’m logged in, header-2nd row cover, the first header. I read somewhere that it could be because of the admin bar. Is there a way to fix this?
I’m adding the code, in case you need it:
/*sticky header*/ @media only screen and (min-width: 1025px) { .header-layout2 .headroom--not-top .header-2nd-row { display: block; } .header-2nd-row { margin-top:20px; border-top:1px solid #dadada; border-bottom:1px solid #dadada; } } /*sticky header always on the top */ .headroom--not-top.headroom--unpinned { -moz-transform: translateY(0); -webkit-transform: translateY(0); -o-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }
Thank you!
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Header covers other header under admin-bar’ is closed to new replies.