• junior

    (@epiric)


    Hi, sorry for not being able to give link to live site (its on localhost currently). But i have a weird problem.

    So, when my products have only price, its ok, i removed underline on price by css
    .amount {text-decoration:none!important;}
    and that works.

    But as soon as i have on sale price, i have problems. Or with variations also. Old price has striketrough, that is ok. And its in .price ins span.amount.

    But current price has UNDERLINE that i dont see defined in any rule in firebug.
    Not in .price, .price del, .price del span , .price del .amount.

    However i try to target that current price, it always has underline?

    I dont understand that, on my old site i removed it by that one css rule, and here in firebug, i checked every element and none declares underline there. I have experience with css and html, but i just dont see how is this made?
    Anyone has ideas?

    Thanks

    https://www.ads-software.com/plugins/woocommerce/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Nico

    (@nicolamustone)

    Automattic Happiness Engineer

    Maybe it’s a border and not text-decoration?

    Post your website URL please so I can check!

    Thread Starter junior

    (@epiric)

    Hey, thanks for answering. As i said i cant since its on locahlhost. I cant be border since it has width of price text, and price is block, so border would be wider. But beside that also, no border rules on any of elements. Im so confused

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Could always be an element ‘higher up’. Really can’t do much more than guess without seeing it unfortunately.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Wierd css problem with price underline’ is closed to new replies.