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.
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024