Shopify themes, liquid, logos, and UX
How do I either remove the lines by each nested title or add a line to the first one?
Hello @Frieqe
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
ul#HeaderMenu-MenuList-3 li::after {
content: unset !important;
}
</style>
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Hi @Frieqe
To add:
.header__submenu li:first-child {
padding-left: 2rem;
}
.header__inline-menu details[open]>.header__submenu li:first-child:after {
content: "";
width: 1.2px;
height: 18px;
background: #005442;
position: absolute;
top: 10px;
left: 0;
}
To remove:
Same instruction.
.header__submenu li:first-child {
padding-left: 2rem;
}
.header__inline-menu details[open]>.header__submenu li:after {
content: unset;
}
And Save.
Result:
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
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