New Shopify Certification now available: Liquid Storefronts for Theme Developers

How do I center the header navigation menu on my store?

Solved
OVRL
Visitor
2 0 1

The menu is currently aligned to the left and I am on the enterprise theme. I can't seem to find any guide relating to the enterprise theme. 

 

Thanks in advance!

Accepted Solution (1)
Dan-From-Ryviu
Shopify Partner
5623 1036 1063

This is an accepted solution.

Go to your Online store > Themes > Edit code > open main.css file, add this code at the bottom and save file 

@media (min-width: 835px) {
.main-menu__content {
    justify-content: center;
}
}

Screenshot 2023-11-16 at 09.56.39.png

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now

View solution in original post

Replies 3 (3)
Dan-From-Ryviu
Shopify Partner
5623 1036 1063

This is an accepted solution.

Go to your Online store > Themes > Edit code > open main.css file, add this code at the bottom and save file 

@media (min-width: 835px) {
.main-menu__content {
    justify-content: center;
}
}

Screenshot 2023-11-16 at 09.56.39.png

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now

OVRL
Visitor
2 0 1

That worked perfectly! Thanks!

Dan-From-Ryviu
Shopify Partner
5623 1036 1063

Happy I could help. 

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now