Re: How to make the dropdown menu in my header smaller in dawn theme?

Solved

How to make the dropdown menu in my header smaller in dawn theme?

houseofviraasi
Excursionist
24 0 5

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 . 

 

 

houseofviraasi_0-1732732042825.png

 

 

for mobile I don't the width to occupy the entire screen. a little less than full should be good. 

houseofviraasi_2-1732731296020.png

 

Please please help

Accepted Solution (1)
Mehran_Ali
Shopify Partner
462 63 69

This is an accepted solution.

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 

 

-If this solution helps you, kindly LIKE THIS REPLY and MARK AS A SOLUTION OR

Buying Me A Coffee.

-If you need an expert Shopify developer for customization and development, feel free to contact me.


Email: Mehran.ali5300@gmail.com


WhatsApp: +92 343 0211536

View solution in original post

Replies 6 (6)

Mehran_Ali
Shopify Partner
462 63 69

Can you share your Store URL and password if it password protected 

-If this solution helps you, kindly LIKE THIS REPLY and MARK AS A SOLUTION OR

Buying Me A Coffee.

-If you need an expert Shopify developer for customization and development, feel free to contact me.


Email: Mehran.ali5300@gmail.com


WhatsApp: +92 343 0211536

houseofviraasi
Excursionist
24 0 5

https://houseofviraasi.com/

 

hey, thanks this is my website. doesn't have any password 

Mehran_Ali
Shopify Partner
462 63 69

This is an accepted solution.

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 

 

-If this solution helps you, kindly LIKE THIS REPLY and MARK AS A SOLUTION OR

Buying Me A Coffee.

-If you need an expert Shopify developer for customization and development, feel free to contact me.


Email: Mehran.ali5300@gmail.com


WhatsApp: +92 343 0211536

houseofviraasi
Excursionist
24 0 5

Oh my, This solved the issue for desktop but not for mobile!

 

thank you so so much, if possible please help with mobile too

Mehran_Ali
Shopify Partner
462 63 69

Sure Just follow the steps Below:

  1. Go to online store ->  theme 
  2. select three dots and select code edit 
  3. Search for the file theme.css and base.css 
  4. 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

-If this solution helps you, kindly LIKE THIS REPLY and MARK AS A SOLUTION OR

Buying Me A Coffee.

-If you need an expert Shopify developer for customization and development, feel free to contact me.


Email: Mehran.ali5300@gmail.com


WhatsApp: +92 343 0211536

houseofviraasi
Excursionist
24 0 5

worked wonderfully. thank you so much for the help