Hide some menu items in mobile layot
September 2015 Joomla Template
- GK User
- Wed Oct 11, 2017 5:42 pm
Hi,
Could you please help me if it's possible to hide some menu (submenu) items in mobile layout.
The method shown lower doesn't work...
@media only screen and (max-width:1040px) {
#menu363, #menu364, #menu365 { display:none; }
}
Or maybe someone knows how to make menu items collapsable and expandable...
Thanks a lot
Could you please help me if it's possible to hide some menu (submenu) items in mobile layout.
The method shown lower doesn't work...
@media only screen and (max-width:1040px) {
#menu363, #menu364, #menu365 { display:none; }
}
Or maybe someone knows how to make menu items collapsable and expandable...
Thanks a lot
-
- Fresh Boarder
- Joshua M
- Thu Oct 12, 2017 9:34 am
Hi,
Maybe you are using wrong menu id numbers, could you provide your website URL? (here or via private message)
Maybe you are using wrong menu id numbers, could you provide your website URL? (here or via private message)
-
- Moderator
- GK User
- Tue Oct 17, 2017 8:22 am
Well I guess I am using right IDs...
https://www.wind-extreme.com
https://www.wind-extreme.com
-
- Fresh Boarder
- Joshua M
- Tue Oct 17, 2017 9:46 am
Try to add the following custom css code:
and try to disable your css optimization plugin.
- Code: Select all
@media only screen and (max-width:1040px) {
#gk-menu-overlay-wrap #menu363,
#gk-menu-overlay-wrap #menu364,
#gk-menu-overlay-wrap #menu365 { display:none; }
}
and try to disable your css optimization plugin.
-
- Moderator
- GK User
- Tue Oct 17, 2017 3:35 pm
This code works perfect. Thanks a lot for your help.
-
- Fresh Boarder
- GK User
- Tue Oct 17, 2017 3:57 pm
Just 1 more question - is there any way to hide empty lines which are left after hiding menus...
-
- Fresh Boarder
- Joshua M
- Wed Oct 18, 2017 8:18 am
It won't be perfect, but try to add the following custom css code:
- Code: Select all
#gk-menu-overlay-wrap .gkMainMenu li li {
border-top: 0;
}
-
- Moderator
7 posts
• Page 1 of 1