Your account expired support, please renew to get your support.

HomePage Forums Themes Support Printec – Printing Company WooCommerce WordPress Theme Change background color in variation selector

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #38023
    badg-it.shop
    Support Expired

    Hello,

    How can I change the background color in the variation selector ?

    Thanks

    #38055

    You can add this custom css to the file style.css ( child-theme) or customize CSS:

    .single-product div.product table.variations td.value ul .variable-item:not(.radio-variable-item).button-variable-item{
    background-color: #your-color;
    }
    
    .single-product div.product table.variations td.value ul .variable-item:not(.radio-variable-item).button-variable-item:hover, .single-product div.product table.variations td.value ul .variable-item:not(.radio-variable-item).button-variable-item.selected:not(.no-stock){
    background-color: #your-color;
    }
    
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.