Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Currently when I open/select the menu it opens and takes up about 90% of my mobile screen width. The menu items take up about 30% of the screen width so there's a lot of empty/white space. So I'd like to decrease the width of the menu slightly, any help would be greatly appreciated, thanks in advance!
Solved! Go to the solution
This is an accepted solution.
Hi @AxsMar,
Go to Assets > component-menu-drawer.css and paste this at the bottom of the file:
.menu-drawer {
width: 70vw !important;
}
If you want to increase or decrease the width, you can change 70vw.
Hope it helps!
This is an accepted solution.
Hi @AxsMar,
Please change code:
/* tablet */
@media screen and (min-width:750px) and (max-width:989px) {
.menu-drawer {
width: 70vw !important;
}
}
/* mobile */
@media screen and (max-width:749px){
.menu-drawer {
width: 70vw !important;
}
}
Hope it is clear to you.
Hello @AxsMar,
Please share:
- your store URL;
- page URL with the issue you mention;
- storefront password (if your store has one).
If the store is not online yet, please follow this quick tutorial to learn how to safely and temporarily share an offline/unpublished theme URL.
Kind regards,
Diego
This is an accepted solution.
Hi @AxsMar,
Go to Assets > component-menu-drawer.css and paste this at the bottom of the file:
.menu-drawer {
width: 70vw !important;
}
If you want to increase or decrease the width, you can change 70vw.
Hope it helps!
Hey @LitExtension
Thanks for the quick reply and quick fix, I really appreciate it!
All the best, AM.
Hey @LitExtension
Is it possible to have two different settings for this depending on device (i.e. desktop or mobile/tablet)?
Thanks again!
AM
This is an accepted solution.
Hi @AxsMar,
Please change code:
/* tablet */
@media screen and (min-width:750px) and (max-width:989px) {
.menu-drawer {
width: 70vw !important;
}
}
/* mobile */
@media screen and (max-width:749px){
.menu-drawer {
width: 70vw !important;
}
}
Hope it is clear to you.
Hey @LitExtension
Your solution was very clear and works exactly as I had hoped.
The menu width is perfect now on both screens, thanks again!!
AM
Hi @AxsMar,
If you have any further questions, you can contact me.
Happy to help you.
I did have one other question/request.
I have a nested menu item in the header of my site and I think I might prefer to not have the the (downward) arrow visible. In a community search I found the code section that hides the removes (but only hides) the arrow, but then it leaves more space between the nested menu item "Products" and the (right) adjacent menu item "User Manuals". Attached is an image.
Any chance you can point me in the (code) direction to completely remove the arrow?
Thanks in advance, AM.
Hi @AxsMar,
You can create a question on the community and send me the link. I will check it.
Because this will help build a better community.
Thank you.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025