Liquid, JavaScript, themes, sales channels
Hi Shopify Community!
I'm having trouble centering my header correctly.
I want the text centered and the search box centered as well.
Can you pretty please, give my headache a rest and help me out?
Thanks in advance!
link: https://sanefooddk.myshopify.com/
pw: wiakre
Best regards
Victor
Solved! Go to the solution
This is an accepted solution.
Hello There,
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset >timber.scss.css and paste this at the bottom of the file:
@media only screen and (min-width: 769px){
.header-bar__search button, .header-bar__search form, .header-bar__search input {
margin-bottom: -10px!important;
}
}
Hello
Working fine!
can you please clear your requirement and share me screenshot ?
Screenshot :- https://prnt.sc/15rqnvu
Hi!
I meant the navigation menu and not the header - sorry!
Everything is working perfect in the top header.
Best regards
Victor
This is an accepted solution.
Hello There,
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset >timber.scss.css and paste this at the bottom of the file:
@media only screen and (min-width: 769px){
.header-bar__search button, .header-bar__search form, .header-bar__search input {
margin-bottom: -10px!important;
}
}
It worked out like a charm, thanks a bunch!
I wish you the very best weekend,
Best regards
Victor
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.
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024