Creativity - Always on menu

Modern, responsive, unique and elegant one-page WordPress theme to showcase your creativity
GK User
Fri Nov 22, 2013 6:50 pm
Hello,
I installed creativity theme and made the top navigation on always visible by adding
Code: Select all
 #gk-top.is-intro {top: 0px !important;}
in the overwrite css.
The menu is now sticky but if i am logged in to the back-end the admin menu is over it instead of moving it a bit lower (28px).
Thanks in advance
-R
User avatar
Fresh Boarder

GK User
Sat Nov 23, 2013 2:04 pm
You can disable WP admin menu on frontend by editing user settings in backend.
Unless you are providing access to logged in users that see this menu on frontend and it is crucial for them - fixing it would not be necessary (specially as It has happen after changing some styling).
User avatar
Moderator

GK User
Mon Nov 25, 2013 6:56 pm
Hi, @thethingswelack, you can also use this code (when admin bar is visible):
Code: Select all
.admin-bar #gk-top.is-intro {
   top: 28px;
}
User avatar
Moderator

GK User
Thu Nov 28, 2013 5:13 pm
Or:
Code: Select all
body.admin-bar #gk-top.is-intro {
   top: 28px;
}

what shows better what it does ;).
Nasty trick that is y the way ;).
User avatar
Moderator


cron