Support » Themes and Templates » Change font size of Variations Price

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello SunahDS,

    To be able to make these changes you would need to be familiar with CSS. Insert the following code in your child theme style.css file:

    1. Currently the font size for the price is 1.25em, I would recommend making it 3em.

    .woocommerce div.product p.price, .woocommerce div.product span.price {
        font-size: 3em;
    }

    2. Yes it can be removed.

    table.variations tbody tr:nth-child(odd) {
        background-color: none;
    }

    Hi Tyron,

    thank you so much for your reply. The first one worked but the second one didnt.

    It’s a pleasure SunahDS. My apologies for the second one, background-color: can’t have a value of none. You have to choose a color. Please use the following:

    table.variations tbody tr:nth-child(odd) {
        background-color: #ffffff;
    }

    That should solve your problem.

    perfect that worked. thank you so much.

    Great to hear, it’s a pleasure.
    Please mark this post as resolved.

    done 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Change font size of Variations Price’ is closed to new replies.