• Page 1 of 1
  • 1
Forum moderator: bigblog  
uCoz Community » For Webmasters » Design Customization » Admin bar over content
Admin bar over content
jackass
Posts: 294
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!
bigblog
Twink
Posts: 1537
Reputation: 72

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 and i'm a twink, please enjoy your stay

i do not work for the company anymore, sorry for the late replies
icon by Nathan Butler
jackass
Posts: 294
Reputation: 10

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