• 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!
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

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 do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
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: