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.
Hey 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, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025