Fixed menu + classic menu 1160->1040 - blank menu

Support desk for Multipurpose Quark Theme
GK User
Wed Oct 07, 2015 7:56 pm
Hello!
When set template - fixed menu: enable + classic menu => the screen when you change the width 1160-> 1040 does not have a fixed menu. The menu is empty by scrolling up :(
Help me :)
User avatar
Senior Boarder

teitbite
Mon Oct 12, 2015 9:05 am
Hi

Try add this code to small.desktop.css file

Code: Select all
.gkMainMenu.gk-fixed-nav,
#gkHeaderNav .gkMainMenu.gk-fixed-nav {
    margin-top: 59px !important;
}
User avatar
Moderator

GK User
Mon Oct 12, 2015 9:20 am
Did not work :(
User avatar
Senior Boarder

GK User
Mon Oct 12, 2015 12:25 pm
As written in another thread, you have to add for example @media only screen and (min-width: 768px) and (max-width: 1024px) { }....
Best regards,
Ruediger
User avatar
Senior Boarder

GK User
Tue Oct 13, 2015 9:32 am
Something is wrong
Code: Select all
@media (max-width: 1160px) {
  #gkLogo,
  #gkMobileMenu {
    margin-top: 20px !important;
    padding: 0;
  }
  .gkMainMenu,
  #gkHeaderNav .gkMainMenu {
    margin-top: 6px !important;
  }
  #gkHeaderNav .gkMainMenu + #gkMobileMenu {
    padding-top: 4px;
  }
  .gk-fixed-nav #gkLogo,
  .gk-fixed-nav #gkMobileMenu {
    margin-top: 72px !important;
  }
  .gk-fixed-nav .gkMainMenu {
    margin-top: 60px !important;
  }

User avatar
Senior Boarder

teitbite
Wed Oct 14, 2015 12:50 pm
Hi

Ok. This is starting to get a little bit offtopic. The fix do not need so many overrides. Please revert back to the solution I provided and show me Your site than so I'll be able to check why it's not working. It does work in my copy of website.
User avatar
Moderator

teitbite
Fri Oct 16, 2015 11:56 am
Hi

This code did the trick:

Code: Select all
@media only screen and (min-width:1041px) and (max-width: 1160px) {
#gkHeaderNav.gk-fixed-nav .gkMainMenu {
    margin-top: 57px !important;
}
}
User avatar
Moderator


cron