disable mobile menu

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Jun 01, 2015 8:37 am
Reply with quote
Report this post
Hi what's the best way to diable the mobile menu for tablets?
My menu is just 4 items and I'd rather keep the full menu.
Can this be done with css override using media queries?

Thanks,

Pascal
User avatar
Gold Boarder

GK User
Mon Jun 01, 2015 8:58 am
Reply with quote
Report this post
Yes it can, could you please post an url to your site?
User avatar
Moderator

GK User
Mon Jun 01, 2015 11:32 am
Reply with quote
Report this post
Site in progress is pasvorm.com/s2015

Thanks
User avatar
Gold Boarder

GK User
Mon Jun 01, 2015 4:10 pm
Reply with quote
Report this post
Please edit: /templates/gk_shop_and_buy/css/override.css and add at its end:
Code: Select all
@media (max-width: 940px) {
   #gkMainMenu.gkMenuClassic {display: block !important;}
   #gkMobileMenu {display: none !important;}
   .gkMenuClassic #gkExtraMenu {display: block !important;}
}
@media (max-width: 940px) {
   #gkMainMenu.gkMenuClassic {display: none !important;}
   #gkMobileMenu {display: block !important;}
   .gkMenuClassic #gkExtraMenu {display: none!important;}
}

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

Ps. I have set 940px breakpoint to show mobile menu as with lower width menu starts to break.
User avatar
Moderator

GK User
Tue Jun 02, 2015 8:31 am
Reply with quote
Report this post
Hi Cyberek, Doesn't work :( Looks like it's using tablets.css
User avatar
Gold Boarder

GK User
Fri Jun 05, 2015 2:53 pm
Reply with quote
Report this post
Sorry, my mistake:
Code: Select all
@media (min-width: 940px) {
       #gkMainMenu.gkMenuClassic {display: block !important;}
       #gkMobileMenu {display: none !important;}
       .gkMenuClassic #gkExtraMenu {display: block !important;}
}

@media (max-width: 940px) {
       #gkMainMenu.gkMenuClassic {display: none !important;}
       #gkMobileMenu {display: block !important;}
       .gkMenuClassic #gkExtraMenu {display: none !important;}
}
User avatar
Moderator

GK User
Mon Jul 13, 2015 8:55 am
Reply with quote
Report this post
Hi Cyberek,

This works fine, thanks!

Regards,

Pascal
User avatar
Gold Boarder

GK User
Mon Jul 13, 2015 3:35 pm
Reply with quote
Report this post
If you have any additional questions regarding this topic, please let me know.
User avatar
Moderator


cron