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.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024