Change the color of the variation price

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #94164
    JT
    Guest

    I would like to change the color of the variation price to red, but leave the variation title the theme default. Need a code example for the template section if possible. Thank you

    #94165
    Dhruvin
    Participant
    Plugin Author

    Hi,

    Sure, here is a code that you can try in the template that you have:

    <span style="color:red;">(%variation_price%)</span>

    As you can see above you need to wrap the %variation_price% tag with a span and add color in the form of style.

    Please let me know if this helps or not. Else you can share your current template and I can share the updated template code with you.

    Best Regards,
    Dhruvin

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Variations Radio Buttons for WooCommerce’ is closed to new topics and replies.