• Resolved rayray07

    (@rayray07)


    <span class=”woocommerce-Price-amount amount”><span class=”woocommerce-Price-currencySymbol”>$</span> 100 </span>

    For this, I’m trying to disable the text-decoration: underline. but with the code below I’m also canceling out strikethrough. How do you cancel just the underline for the sale price?

    ********** MY current code ***************
    .footable-details.table, .footable-details.table *, .footable.table, .footable.table * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-decoration: none;
    }

    I believe this underline is also inside the woocommerce assets as well but I couldn’t find the exact location of it.

    Any help is appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    Can you please send us a link to where you are seeing this? The best way to undo CSS like this would likely be to write CSS targeting that span without the underline, rather than setting it as text-decoration to be none.

    Hopefully that helps! Have a great one!

    Thread Starter rayray07

    (@rayray07)

    Hi Andrew,

    Thanks for your quick response.

    Here the link

    Go to schedule and registration > Boot Camp > the first schedule

    I did that but span got the same class with the strikethrough. It would be good to find which file where I can rename it.

    Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there,

    Thank you very much for providing that link.

    I checked Schedule > Boot Camp and opened the Schedule, but do not see any sale prices or underlines:

    schedule
    Link to image: https://d.pr/i/CawsbH

    I tried adding the schedule to Cart, but did not see anything related there either (then removed it from cart to clear things up).

    Did you decide to remove the sale pricing? If you have already sorted things out, then that’s great! Otherwise, please explain again where we can find what you are referring to. A screenshot might be useful. I recommend https://snipboard.io for easily sharing screenshots – please follow the instructions on the page, then paste the URL in your reply here.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to disable text underline on Sale Price?’ is closed to new replies.