[Support request] How to change font size for the Product price ONLY

Home Forums Support How to change font size for the Product price ONLY

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1051084
    Avinash

    Hi,

    How should I change the font size of the product price in the product list/grid. The size seems to be altered only if the font size under Customise>Typography>Body>Font Size is changed. However this alters the font size for the entire page. How can I resolve this?

    #1051367
    David
    Staff
    Customer Support

    Hi there,

    you can use either or both of this CSS:

    /* Change price font size for single product and archive */
    .woocommerce-Price-amount {
        font-size: 18px;
    }
    /* Change price font size for archive only */
    .product .woocommerce-Price-amount {
        font-size: 18px;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.