Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #625759

    hi guys

    I inserted a code to underline all links in the text

    #main .content a { text-decoration: underline; }

    but now also the text below the products in the shop overview is underlined, see screenshot here. i want to change that.
    https://www.dropbox.com/s/645ii8f8xrvz0qz/text%20underlined.JPG?dl=0
    “Bio Kakaobohnen Rohkost „Peru“ 150g 7,50 € (50,00 € / kg)“ should not be underlined; „Versandkosten“ should stay underlined

    the code you gave me in another topic didnt work:

    .inner_product_header_cell h3 {
    text-decoration:none !important;
    }

    i tried this code and added color: red !important; to see if the right part is targeted, and the text got red, but only the “Bio Kakaobohnen Rohkost „Peru“ 150g” changed red not the price below (7,50 € (50,00 € / kg)

    thank you!
    greetings

    #626378

    Hey richardhofer83,

    Please add following code to Quick CSS as well

    p.wc-gzd-additional-info {
        color: red;
    }

    Best regards,
    Yigit

    #626500

    ok sorry i think my question was not very clear
    its not about the color red but to remove underline text decoration for this particular link like in this picture (i admit badly) drawn:
    https://www.dropbox.com/s/645ii8f8xrvz0qz/text%20underlined.JPG?dl=0
    thank you!
    greetings

    #626511

    Hi!

    :D
    Please add following code to Quick CSS

    .main_color .inner_product_header_cell *, .main_color .inner_product_header_cell {
        text-decoration: none!important;
        border: none!important;
    }

    Best regards,
    Yigit

    #626513

    hey sorry does not work
    i left the code in quick css, maybe that helps you

    like i said i added this css to underline all links:
    #main .content a { text-decoration: underline; }

    #626521

    Hi!

    Do you mind creating a temporary admin login and posting it here privately?

    Cheers!
    Yigit

    #626552

    yes ok

    #626575

    Hey!

    I added following code to Quick CSS

    .inner_product a {
        text-decoration: none!important;
    }
    p.wc-gzd-additional-info.shipping-costs-info a {
        text-decoration: underline!important;
    }

    Please review your website now

    Cheers!
    Yigit

    #626589

    yep great it works! thank you

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘some links should not be underlined, how to solve with css?’ is closed to new replies.