Shopify themes, liquid, logos, and UX
I want to move the search bar to the other side of the header so my logo will be centered on my site. The website is www.shopcuzzo.com
Solved! Go to the solution
This is an accepted solution.
HI my friend @Mrstep ,
For your requirement 'want your logo to be centered on my site,' it's not necessary to move the search icon to the left. Keeping the entire icon group (search, account, cart) together would make more sense according to Shopify's standards.
You can simply adjust the CSS a bit to center your logo. Follow my instructions below.
Step 1: Go to Admin -> Online store -> Theme > Edit code:
Step 2: Search for the file base.css. And add this code snippet to the end of the file.
.header {
display: flex;
justify-content: space-between;
align-items: center;
}
.header__heading {
position: absolute;
left: 50%;
transform: translateX(-50%);
}
Step 3: Save and reload home page.
=>> The result:
I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.
Have a nice day sir!
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
This is an accepted solution.
HI my friend @Mrstep ,
For your requirement 'want your logo to be centered on my site,' it's not necessary to move the search icon to the left. Keeping the entire icon group (search, account, cart) together would make more sense according to Shopify's standards.
You can simply adjust the CSS a bit to center your logo. Follow my instructions below.
Step 1: Go to Admin -> Online store -> Theme > Edit code:
Step 2: Search for the file base.css. And add this code snippet to the end of the file.
.header {
display: flex;
justify-content: space-between;
align-items: center;
}
.header__heading {
position: absolute;
left: 50%;
transform: translateX(-50%);
}
Step 3: Save and reload home page.
=>> The result:
I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.
Have a nice day sir!
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
I'm sorry, I should have been more clear on what I needed the desktop is great! it is for the mobile.
Hi @Mrstep ,
For mobile view, you just need add this code in base.css:
@media only screen and (max-width: 768px) {
h1.header__heading {
position: absolute !important;
left: 50% !important;
transform: translateX(-50%) !important;
}
}
The result look like this image below:
I hope this instructions will help you. If they are helpful, please give us likes and mark as the solution.
Have a nice day sir!
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
Thanks so Much! still new to this does it matter where I paste it in the .css file?
Hi @Mrstep ,
You can add this code snippet to the end of the file base.css.
😍 It's such my honor to help you, bro. Can you give us some Likes, it will be the greatest motivation for us.
Thanks in advance!
Have a nice day! ^^
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
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