Shopify themes, liquid, logos, and UX
When I'm on the home page the header works as expected. After I click on a menu item, then all the menu items are underlined. You can refer to the screenshot. I only would like only the selected menu item to be underlined.
You can also review my shop via https://iatp19-1s.myshopify.com/ (if this doesn't work please try toskana.store because currently I'm waiting for the domain verification)
Any help is much appreciated!
Solved! Go to the solution
This is an accepted solution.
Hi @icllksknt1
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.
.header__active-menu-item {
text-decoration: none !important;
}
Result:
If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!
Hi @icllksknt1
Try this one.
.header-wrapper--border-bottom {
border-bottom: 0 !important;
}
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
This is an accepted solution.
Hi @icllksknt1
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.
.header__active-menu-item {
text-decoration: none !important;
}
Result:
If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!
Many thanks 🙂 enjoy your coffee!
Hey @icllksknt1,
In your base.css find .header__active-menu-item, and delete or comment the property text-decoration: underline. It should then remove all the underlines 🙂
Let me know if you want us to do it for you, we'd love to.
Cheers!
Shubham | Untechnickle
Helping for free: hello@untechnickle.com
Don't forget to say thanks, it'll make my day - just send me an email!
Get Revize for Free | Let your shoppers edit orders post-purchase | Get Zero Support Tickets | #1 Order Editing + Upsell App
Hello @icllksknt1
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>
span.header__active-menu-item {
text-decoration: none !important;
}
span.header__active-menu-item:hover {
text-decoration: underline !important;
}
</style>
RESULT:
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Hello, many thanks for your support! I tried but editing the theme.liquid file didn't work. On the other hand editing the asset file does, fyi. Once again, your help is 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