How can I get one more column in my mega menu?

Solved

How can I get one more column in my mega menu?

khalldesign
Visitor
2 0 2

I want all my fragrance categories in one row but it seems like the mega menu only allows 6 across at a time. Is there a way to add a 7th item on the row? I'm using the Dawn theme.

 

Screenshot 2025-01-27 at 10.51.55 AM.png

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
10211 2427 3079

This is an accepted solution.

Hi @khalldesign 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

div#MegaMenu-Content-2 .mega-menu__list {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1738017090137.png

     

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Replies 4 (4)

Moeed
Shopify Partner
7732 2074 2554

Hey @khalldesign 

 

Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


khalldesign
Visitor
2 0 2

This is my temporary URL right now: https://b0aa50-78.myshopify.com/

PaulNewton
Shopify Partner
7777 680 1619

Hi @khalldesign Customer would be much better off if you redo the nav so it's built from the start to have that much noise.

Don't cram more than handful of navs into a horizontal menu like that it just creates user annoyances.

To ignore reason and cram in more you'd need to shrink the spacing / font-sizes of all the columns using CSS

 

Really you need a menu with 3 level vertical layout in the menu with the fragrances going top to bottom and eachs ones items to the right.

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org


Made4uo-Ribe
Shopify Partner
10211 2427 3079

This is an accepted solution.

Hi @khalldesign 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

div#MegaMenu-Content-2 .mega-menu__list {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1738017090137.png

     

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.