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
-
Go to Online Store → Theme → Edit code.
-
Open your theme.liquid file
-
Paste the below code before on theme.liquid
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Hi @Frieqe
To add:
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.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;
}
- And Save.
- Result:
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!



