menu fixed with background white

Support desk for Multipurpose Quark Theme
GK User
Wed May 13, 2015 6:53 pm
hi,
geat template :)

For Quark Store :

It's possible to have menu fixed with background white on all page and no move or effect on scroll?

Example on attachment :
Capture d’écran 2015-05-13 à 19.46.40.png


if yes, how ?

Thanks
User avatar
Fresh Boarder

GK User
Thu May 14, 2015 9:54 am
Could you please post an url to your site?
User avatar
Moderator

GK User
Thu May 14, 2015 8:12 pm
http://dev.djnewsmag.be

This is the basic version, I would change the menu before i start to change the elements.

Thank you
User avatar
Fresh Boarder

GK User
Sun May 17, 2015 10:42 am
Please edit: /templates/gk_quark/css/override.css and add at its end:
Code: Select all
#gkHeaderNav {
    top: -45px !important;
    position: fixed !important;
    background: #fff !important;
    height: 120px !important;
    -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, .15) !important;
    -moz-box-shadow: 0 0 2px rgba(0, 0, 0, .15) !important;
    box-shadow: 0 0 2px rgba(0, 0, 0, .15) !important;
}
#gkHeaderNav .gkMainMenu {
    margin-top: 48px !important;
    height: 72px !important;
}
#gkHeaderNav.gk-fixed #gkLogo {
    margin-top: 72px !important;
}
#gkHeaderNav.gk-fixed .gkMainMenu .gkmenu.level0 > li > a {
    padding: 24px 15px !important;
}

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Mon May 25, 2015 5:39 pm
It's fun, but subtitles menus disappear when you scroll to the top of the page :(.

The idea for the menu appear when scrolling to the top is nice but will not work on pages with little content content.:(

It would be great to be able to enable the configuration template> section MENU> Display menus constantly.
User avatar
Gold Boarder

GK User
Mon May 25, 2015 6:20 pm
example of malfunctions ...
http://cl.ly/image/3g070j3H1k1C
;(
User avatar
Gold Boarder

GK User
Sat May 30, 2015 4:46 pm
I don't quite understand. Could you please be more specific?
User avatar
Moderator

GK User
Sat May 30, 2015 5:33 pm
add this on your override :

Code: Select all
#gkMobileMenu {
    padding: 0px;
    margin-top: 72px !important;
}
.dark-bg #gkMobileMenu i, .dark-bg #gkMobileMenu i::after, .dark-bg #gkMobileMenu i::before {
    background: #444 none repeat scroll 0% 0%;
}
.dark-bg #gkMobileMenu span {
    color: #444;
}
#gkHeaderNav .gkMainMenu .gkmenu > li > a, #gkHeaderNav .gkMainMenu .gkmenu > li > span {
    color: #444 !important;
}
User avatar
Fresh Boarder

GK User
Sun May 31, 2015 9:39 am
Above code will fix the menu... And if it goest to pages with small amount of content - you can create custom page suffix which combined with css forcing menu to stay on page - would be the solution.
User avatar
Moderator


cron