Comments 4Ho0tz04 started the conversationJanuary 8, 2018 at 8:50pmOn the smaller screen sizes, how do you make the sub-menu items appear expanded by default instead of collapsed? 1,715Barry repliedJanuary 8, 2018 at 9:01pmHi there,This is possible with some custom jQuery code. Please add the following via Appearance > Customize > Theme Options > Custom > Custom JS Footer:<script> jQuery('.main-navigation li').addClass('nav-toggle-dropdown');</script> If you don't want to use the submenu toggle function at all please use the following code instead. But this one should be added via Appearance > Customize > Additional CSS:.main-navigation .nav-toggle-mobile-submenu { display: none; }@media (max-width: 992px) { .main-navigation .sub-menu { display: block; } }Best regards,BarryQreativeThemes.com | WordPress Themes Sign in to reply ...
On the smaller screen sizes, how do you make the sub-menu items appear expanded by default instead of collapsed?
Hi there,
This is possible with some custom jQuery code. Please add the following via Appearance > Customize > Theme Options > Custom > Custom JS Footer:
<script> jQuery('.main-navigation li').addClass('nav-toggle-dropdown');</script>
If you don't want to use the submenu toggle function at all please use the following code instead. But this one should be added via Appearance > Customize > Additional CSS:
.main-navigation .nav-toggle-mobile-submenu { display: none; }
@media (max-width: 992px) { .main-navigation .sub-menu { display: block; } }
Best regards,
Barry
QreativeThemes.com | WordPress Themes