My Dawn theme mega menu is too long, hoping to split into 4 or 5 columns

My Dawn theme mega menu is too long, hoping to split into 4 or 5 columns

flothreads
Visitor
3 0 0

Hi there, I have a lot of brands listed in one dropdown of my megamenu, I am hoping to split these into columns.

 

Screen Shot 2024-03-26 at 12.39.07 pm.png

Replies 11 (11)

suyash1
Shopify Partner
9853 1225 1566

@flothreads - can you please share this page link?

To build shopify pages use pagefly | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30. | Support me
flothreads
Visitor
3 0 0
suyash1
Shopify Partner
9853 1225 1566

@flothreads - please add this css to the very end of your base.css file and check

@media screen and (min-width:750px){
.mega-menu .mega-menu__list--condensed {display: flex !important; flex-wrap: wrap;}
.mega-menu__list li{flex-basis: 17%;}
}
To build shopify pages use pagefly | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30. | Support me
flothreads
Visitor
3 0 0

That's wonderful, thank you.

 

Is there a chance you can help me reduce the spacing and remove the underline for this tab of the menu please?

suyash1
Shopify Partner
9853 1225 1566

@flothreads - add this as well

.mega-menu__link--level-2 {text-decoration: none !important;}
.mega-menu__link:hover, .mega-menu__link--active{text-decoration: none !important;}

 

spacing is due to width 17%, you can adjust it as per your need, I recommend to keep spacing so that menu looks good on desktop

 

To build shopify pages use pagefly | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30. | Support me
PhoneCases
Tourist
28 0 1

Also Looking for help. Added the code to Base css and did not change anything.

https://phonecasefor.com

JM
suyash1
Shopify Partner
9853 1225 1566

@PhoneCases - your mega menu is divided into 6 parts, hence it does not have space to expand and that is why it is difficult to expand menu into multiple columns

To build shopify pages use pagefly | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30. | Support me
PhoneCases
Tourist
28 0 1

Not sure I understand. I am looking to create 3 columns for the "shop by device"

JM
suyash1
Shopify Partner
9853 1225 1566

@PhoneCases - shop by device does not have enough space to create 3 columns

 

suyash1_0-1716092482696.png

 

To build shopify pages use pagefly | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30. | Support me
PhoneCases
Tourist
28 0 1

That makes more since. Thanks for the visual. So I guess it is what it is? 

JM
suyash1
Shopify Partner
9853 1225 1566

@PhoneCases - it can be changed but will need many css changes and in future it would be difficult to add new menu option after shop by device

To build shopify pages use pagefly | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30. | Support me