Hi,
I’m working on a new dawn theme that is not published yet. so basically the DROP DOWN menu in the header section on my website is too big. There is a lot of white padding which I would like to remove and would like the menu to open under its main main menu name. for example I want it the menu under Shop to be under it and the drop box width should be of max content for desktop .
for mobile I don’t the width to occupy the entire screen. a little less than full should be good.
Please please help
Can you share your Store URL and password if it password protected
https://houseofviraasi.com/
hey, thanks this is my website. doesn’t have any password
are you using the mega menu option for that? this behavior you have in menu is due to mega menu if you want to have normal drop down without white space you shou;l remove mega menu
1 Like
Oh my, This solved the issue for desktop but not for mobile!
thank you so so much, if possible please help with mobile too
Sure Just follow the steps Below:
- Go to online store → theme
- select three dots and select code edit
- Search for the file theme.css and base.css
- past that code at the end
.js details[open].menu-opening>.menu-drawer, details[open].menu-opening>.menu-drawer__submenu {
width: 75vw;
}
I hope this solution worked for you!
If yes Just like this Reply and Mark it as a Solution and to keep me motivated BUY ME A Coffee
1 Like
worked wonderfully. thank you so much for the help
1 Like