Viewing 6 replies - 1 through 6 (of 6 total)
  • You can include .woocommerce-Price-amount after .price and it looks like it should work

    /* hide price per inch */
    .price, .woocommerce-Price-amount {
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    margin-top: 0;
    display: none;
    font-size: 0;
    }
    Thread Starter twgerber

    (@twgerber)

    Thx but that didn’t work.

    /* hide price per inch */
    .price .woocommerce-Price-amount {
    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    margin-top: 0;
    display: none !important;
    font-size: 0;
    }

    I added important too but no luck.

    You forgot the comma (,) directly after .price

    Hello,

    Use the below code to hide the price.

    span.woocommerce-Price-amount.amount {
        display: none;
    }
    Thread Starter twgerber

    (@twgerber)

    Both work! Thank you

    You’re welcome!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Hiding Price – Amit’ is closed to new replies.