Shopify themes, liquid, logos, and UX
I need help adding a horizontal line in the header between my logo and navigation menu in the Dawn theme
yes but i would like it to be full width
Okay, can you provide the code to what you had before?
Hey @rere14
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag.
<style>
nav.header__inline-menu {
border-top: solid 1px black;
}
</style>
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Thank you! how would i be able to make it full width?
Hey @rere14
Remove the previous code and add the new code
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag.
<style>
nav.header__inline-menu {
border-top: solid 1px black;
}
.header:not(.header--middle-left,.header--middle-center) .header__inline-menu {
width: 100%;
text-align: -webkit-center;
}
</style>
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Thank you so much!
I'm glad my solution worked for you! 🙂
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
i fixed it. thanks for pointing that out
Awsome! This really helped me. Thank you very much ❤️
Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025