Shopify themes, liquid, logos, and UX
Can anyone advise how to remove the underlines when hovering over links in the header, footer and product titles of the dawn theme? I have tried all the possible solutions available in Shopify discussion threads, but nothing is working out.
@oscprofessional Appreciate your thoughts and suggestions.
Solved! Go to the solution
This is an accepted solution.
@shehnaz17I was able to see underline on the collection page over hover.
Here is the CSS you can try for the collection page :
.full-unstyled-link:hover {
text-decoration: none !important;
}
Thanks
Could you provide me store URL? I should be able to answer your question.
Yours faithfully!
@shehnaz17 send me store password.
The store is not password protected.
Please follow up below steps. May this help you.
Top Navigation:
1. Go to online store > themes > actions > edit code
2. Find Assets > base.css and paste below CSS at the bottom of the file
.header__active-menu-item
{
text-decoration: none !important;
}
Footer Navigation:
1. Go to online store > themes > actions > edit code
2. Find Assets > component-list-menu.css and paste below CSS at the bottom of the file
.list-menu__item--active
{
text-decoration: none !important;
}
Product Title:
1. Go to online store > themes > actions > edit code
2. Find Assets > base.css and paste below CSS at the bottom of the file
.full-unstyled-link
{
text-decoration: none !important;
}
Hi,
Thank you for the solutions. However, I can still see underline on navigation links and the product titles as you can see in below images:
This is an accepted solution.
@shehnaz17I was able to see underline on the collection page over hover.
Here is the CSS you can try for the collection page :
.full-unstyled-link:hover {
text-decoration: none !important;
}
Thanks
@DelightCartIt is on hover so I think @shehnaz17 needs to use :hover to get rid of text-decoration
.header__active-menu-item:hover
{
text-decoration: none !important;
}
.list-menu__item--active:hover
{
text-decoration: none !important;
}
.full-unstyled-link:hover{
text-decoration: none !important;
}
@SocialAutoPost Thank you for the solution for collection page. However, for navigation - About Us, Ready-to-wear etc. I can still see underline on hover.
I would suggest you create a duplicate theme before you make more changes to the theme.
Try this CSS for navigation and header
.header__active-menu-item, .list-menu__item--active{
text-decoration: none !important;
}
.header__active-menu-item, .list-menu__item--active:hover {
text-decoration: none !important;
}
span, svg:hover {
text-decoration: none !important;
}
Hey, this still don't work. I am trying this in base.css file, hope that's correct?
@shehnaz17Yes base.css file is correct. I edited my previous answer. Please try that CSS and let me know
Hey,
This didn't work out neither. Not very sure what's the issue.
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025