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 and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. 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.
Check out our video tutorial if some one is still looking for the solution
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024