I want to centre align my mega menu drop down. Currently its left aligned. I’m using Dawn theme
Topic summary
A user seeks to center-align the mega menu dropdown in the Dawn theme, which is currently left-aligned by default.
Solution Provided:
- Navigate to Shopify Admin → Online Store → Themes → Actions → Edit Code
- Open
Asset > base.css - Add the following CSS at the bottom:
.mega-menu .mega-menu__list--condensed li {
margin: 0 auto;
}
Outcome:
- The original poster confirmed the solution worked successfully
- A later user reported the same CSS code did not work for them, suggesting the issue may be theme-version specific or require additional troubleshooting
The discussion remains partially open as the secondary user’s problem is unresolved.
Hello There,
Please share your store URL and password.
So that I will check and let you know the exact solution here.
Hi,
Just sent you the password and store link.
Adding my store link here as well: https://4c6338-2.myshopify.com/
Hello There,
- In your Shopify Admin go to online store > themes > actions > edit code
- Find Asset > base.css and paste this at the bottom of the file:
.mega-menu .mega-menu__list--condensed li {
margin: 0 auto;
}
It worked, thanks a lot.
Thank you for your response. It’s good to know that it’s worked for you. Kindly feel free to get back to me if you need any further assistance.
If helpful then please Like and Accept Solution.
Hi there, I tried using the code and pasting at the base.css but it doesn’t work.

