Shopify themes, liquid, logos, and UX
Hello,
Right now my search bar only looks good on my screen size, because my logo in the header does not have this line/barrier for the logo, so on smaller screens the search bar overrides the logo and it looks bad.
So what i would want help with is to get this line that separates the logo in my header.
Take a look at my nonfunctional header, as you can see no line:
And this one that works great:
Here's my store: https://r1vex.myshopify.com/
Thanks for helping!
Sure this gave the logo a line, but it does not work as a barrier for the search bar and you can see in the pics below that it's still the same.
Hi @manbru Thanks for the URL, The barrier you are talking is done with the help of css property as that header contains all the element in 1 div, and then they have added the Flex property.
If you want the same then you need to edit your code so that your search bar and your logo should be under 1 div element and then you can design it with the help of Flex property.
If you want the line then you can add this code, this code will add the visible line.
<style>
h1.header__heading {
border-right: black 1px solid;
}
</style>
Please follow the steps:
Result:
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
Best Regards
Sahil
- Your
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