Hyperlinks with underline, but not in header + favorites icon wrong

This topic has 4 replies, 2 voices, and was last updated 2 years, 3 months ago ago by Olga Barlow

  • Avatar: sisalik
    sisalik
    Participant
    February 2, 2022 at 18:06

    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”.

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    February 3, 2022 at 13:45

    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

    Avatar: sisalik
    sisalik
    Participant
    February 3, 2022 at 20:42

    Thank you!

    But there are few places, that souldn’t have underline (refer images).

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    February 4, 2022 at 16:40

    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

  • Viewing 4 results - 1 through 4 (of 4 total)

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

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.