Admin bar CSS
-
The Admin bar adds the following CSS to all front facing pages:
body { padding-top: 28px !important; }
This can severely disrupt any absolutely positioned elements on the page. A better approach might be to use:
body { position: relative !important; top: 28px !important; }
which (in theory) should preserve any existing positioning.
- The topic ‘Admin bar CSS’ is closed to new replies.