Fix for bar covering header
-
Hi all,
This isn’t a request for help. I wanted to share my fix for the navigation bar covering my header.
I added this to my header.php file:
<script> jQuery(document).ready(function($) { var height= $(".mtsnb").height(); $("#header").css({marginTop: height}); }); </script>
This grabs the height of the notification bar, then adds that value as a margin to the top of my header. It only applies if the notification bar is active.
If you have other issues with absolute/fixed position elements, some variation of the above would solve it.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Fix for bar covering header’ is closed to new replies.