How to add the ability to select different menus for the mobile version?

How to add the ability to select different menus for the mobile version?

ecom_armenia
Shopify Partner
20 0 3

Hello, I have a Glozin theme. How can I add the ability to select different menus for the mobile version? Everything is fine in my desktop theme, but for the mobile version I want to change the collection list a little. Thank you

Reply 1 (1)

gr_trading
Shopify Partner
1943 145 203

All you need to add media query and add two navigation code.

 

For media query use below code

 

<style>
/** For desktop **/
.d-web,.d-mobile{display:none}
@media(min-width:768px){
	.d-web{display:block}
}

/** For Mobile only **/
@media(max-width:768px){
	.d-mobile{display:block}
}
</style>

 

add additional div to parent of menu code d-web for web version menu and d-mobile for mobile menu.

We have this advance code for our vendor please refer the below link to see it in action where we have implement completely new menu for mobile users.

 

https://littlepartners.com/

 

Hope this will helps...

For any custom development WhatsApp or connect at Email ID: [email protected] for quick consultation. | Shopify Free codes
To support Buy Me a Coffee