Shopify themes, liquid, logos, and UX
My main menu is off centre - any idea how I can fix?
toltano.com
Thank you
Solved! Go to the solution
This is an accepted solution.
Hello @nvisibl1
This is the code now you can copy paste CSS .
.header{
display: flex !important;
justify-content: space-between;
align-items: center;
}
Go to your Online store > Themes > Edit code > open theme.liquid file, add this code below after <head> element
<style>
@media screen and (min-width: 990px) {
.header--middle-left {
grid-template-columns: 1fr auto 1fr !important;
}
}
</style>
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
Hi @nvisibl1 ,
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.liquid
Step 3: Paste the below code at the bottom of the file -> Save
<style>
@media screen and (min-width: 990px) {
.header--middle-left {
grid-template-columns: 150px 1fr 150px !important;
}
}
</style>
Hope my solution works perfectly for you!
Best regards,
Oliver | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
Thank you - it didnt quite work though.... the menu items moved a bit but not centred
Thank you
hello @Nvisibl1
You can add code by following these steps to change ATC background color
1. Go to Online Store -> Theme -> Edit code.
2. Open your base.css file
3. Paste the below code in base.css file
thank you
are you able to send in text so I can copy paste?
This is an accepted solution.
Hello @nvisibl1
This is the code now you can copy paste CSS .
.header{
display: flex !important;
justify-content: space-between;
align-items: center;
}
Great, works perfect - thank you !
Please Help! Trying to centre Align my menu as it is off centre. It's has the same space between the logo (left) and search/cart (right) but not centre on the screen.
your a god send - THANK YOU!
Check out our video tutorial if some one is still looking for the solution
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025