Home › Forums › Support › How can i create a fixed Header and top Menu in the Generate Press Theme › Reply To: How can i create a fixed Header and top Menu in the Generate Press Theme
March 6, 2015 at 12:48 pm
#83502
Tom
Lead Developer
Lead Developer
Actually, WordPress adds a class to the <body>
element when the admin bar is present, so you can do this:
.admin-bar .custom-fixed-header {...}
Hope this helps 🙂