Page 1 of 11
Forum moderator: bigblog 
uCoz Community » For Webmasters » Design Customization » Admin bar over content
Admin bar over content
jackass
Posts: 278
Reputation: 10

Message # 1 | 3:43 PM
Hello!

I have a problem! I have fixed menu on the top
Code
.top_bar {
position: fixed;
top: 0px;
left: 50%;
transform: translate(-50%, 0);
background: #fff;
border-top: 3px solid #000;
height: 100%;
max-height: 100px;
width: 70%;
min-width: 500px;
z-index: 999;
}


It's all great until I log in and admin bar is over my search box and over some content!
I could put top: 24px; but then it's not on top for people who isn't logged in!

So annoying, why there isn't option for admin bar to push content 24px lower or is there?

Please help!

Support forum
bigblog
*boops*
Posts: 1479
Reputation: 71

Message # 2 | 4:21 PM
jackass, put into a global block:

Code
<?if($USER_LOGGED_IN$)?><style type="text/css">.top_bar {top:24px !important;}</style><?endif?>

hey i'm joe, please don't call me on my real name because you're gonna misspell or mispronounce it and it drives me nuts

i do not work for the company anymore, sorry for the late replies
jackass
Posts: 278
Reputation: 10

Message # 3 | 6:23 PM
bigblog, Thanks!
Support forum
uCoz Community » For Webmasters » Design Customization » Admin bar over content
Page 1 of 11
Search: