This topic has 4 replies, 2 voices, and was last updated 2 years, 10 months ago ago by Olga Barlow
1) I would like to have all pages hyperlinks with underline (except: header, footer, images, …). So basically all the links that appear under the header and abovethe footer (except images).
2) My whole page has favorite icon “star”, but hovering shop items reveals “heart”.
Hello,
1) Add the below code to Theme Options > Custom CSS to add the underline for the link in the page content
.content-page a, .page-content a {
text-decoration: underline;
}
2) Add the below code to Theme Options > Custom CSS
.yith-wcwl-add-to-wishlist.wishlist-fragment .yith-wcwl-add-button a:before {
content: "\e90e";
}
.content-product .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistaddedbrowse a::before, .content-product .yith-wcwl-add-to-wishlist .yith-wcwl-wishlistexistsbrowse a::before {
content: "\e930d";
}
Regards
Thank you!
But there are few places, that souldn’t have underline (refer images).
Hello,
Replace the previous code with this one
.content-page a:not(.button, .add_to_wishlist ), .page-content a:not(.button), .content-page a:not(.add_to_wishlist ), .page-content a:not(.add_to_wishlist ) {
text-decoration: underline;
}
There is no way to disable decoration for the star icon only because it’s inside the link, so I can disable it for the whole link.
Regards
Tagged: favorites, hyperlinks, icon, themes, underline, woocommerce, wordpress
The issue related to '‘Hyperlinks with underline, but not in header + favorites icon wrong’' has been successfully resolved, and the topic is now closed for further responses