Adjusting other elements when navbar is ontop
-
Using the Twenty Ten Theme, I was able to put the NavBar on top using this code:
#access {position:absolute; top:0;}
body.logged-in #access {top:28px;}
This worked great, but now the sidebar is too far down (as you can see if you visit the site). Setting a negative margin for #primary had no effect.
What’s the best way to get the sidebarz to be once again adjacent to the navbar?Current code: http://tinyurl.com/vbpcss
Site: http://veraxpointblog.comThanks,
MitchThe blog I need help with is: (visible only to logged in users)
-
OK, give this a try.
#site-title { position: absolute; width:550px z-index:1; } #content { margin-top:120px; } -
-
- The topic ‘Adjusting other elements when navbar is ontop’ is closed to new replies.