Mega menu add vertically ordered columns when using a sub-menu.

Solved

Mega menu add vertically ordered columns when using a sub-menu.

Randal
Excursionist
18 0 7

It's best explained by looking at the picture. Previously all mega-menu items were on the same level. Now when I've added the individual clubs as sub-menu items to the leagues, it has broken my layout, the columns property of .mega-menu__list no longer works, the way I want. Can you fix it? 

 

https://4330ea-89.myshopify.com/

 

likeThis3.jpg

 

Accepted Solution (1)

BSSCommerce-B2B
Shopify Partner
1972 564 566

This is an accepted solution.

Hi @Randal ,
Step 1. Go to Admin -> Online store -> Theme > Edit code

Step 2. Find the file base.css.
Step 3. Add this code at the end of file

 

.mega-menu__list *,
.mega-menu__content {
  border: 0!important;
}
.mega-menu__list {
  border: 0!important;
  display: block!important;
  right: 0!important;
  padding: 0!important;
}

 

 Result

BSSCommerceB2B_0-1723168847047.png

 

 

If it helps you, please like and mark it as the solution.

Best Regards

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

View solution in original post

Replies 6 (6)

BSSCommerce-B2B
Shopify Partner
1972 564 566

This is an accepted solution.

Hi @Randal ,
Step 1. Go to Admin -> Online store -> Theme > Edit code

Step 2. Find the file base.css.
Step 3. Add this code at the end of file

 

.mega-menu__list *,
.mega-menu__content {
  border: 0!important;
}
.mega-menu__list {
  border: 0!important;
  display: block!important;
  right: 0!important;
  padding: 0!important;
}

 

 Result

BSSCommerceB2B_0-1723168847047.png

 

 

If it helps you, please like and mark it as the solution.

Best Regards

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

Randal
Excursionist
18 0 7

This is almost perfect, unfortunately now it has become center aligned again. Do you know how to left align it. 

 

likeThis2.jpg

BSSCommerce-B2B
Shopify Partner
1972 564 566

Remove it in my code i've sent to you

BSSCommerceB2B_0-1723170425498.png

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

Randal
Excursionist
18 0 7

Brilliant! You're a god amongst men! 

BSSCommerce-B2B
Shopify Partner
1972 564 566

Thank you sir! It such my honor to help you 😍 Have a great day 💪

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

katsyl
Visitor
1 0 0

Thank you so much for this, it helped me too!  I had been trying for ages to get a vertical list on my sub-sub menu, and it worked a treat.   

 

I have a menu for designers, a sub-menu for A-Z, then a sub-sub-menu for the designers under each letter.   The only thing is, I just have one very long vertical list, but I would like multi columns similar to the op, could you help with this please?  I'd also like just a little space between before each sub-menu letter, as I think that would look better.

 

I'm new here, so hope I'm asking in the right place.  I'm using the Trade Theme.  Thank you in advance2024-01-05 Menu Navigation Query - How to add multi column and spaces.jpg