Change Billing State and Billing Country font color in Pro and Woocommerce

Hi All,

How can I change the billing state and billing country pulldown font color in Pro and Woocommerce, for both unselected and selected?

Thanks!
Jeff

Hello Jeff,

Thanks for writing to us.

You can add this custom CSS code under Theme Option —>CSS to change the color of the billing state and billing country.

Billing country

.select2-results__option[data-selected] {
color: #008eff;

}
.select2-container--default .select2-selection--single .select2-selection__rendered {
color: #008eff;
}

Billing state

p.form-row.address-field.validate-state.form-row-wide.woocommerce-validated input[type=text] {
color: #008eff !important;
}

Please feel free to change the color code as per your design. The purpose of providing custom CSS is to show you how to add CSS code to your site. Writing custom CSS is outside the scope of our theme support. If you need more customization, you need to learn CSS and learn how to use the browser’s element inspector.In case if you have no idea about coding you can subscribe to One where customization questions are answered.

Hope it helps.
Thanks

Worked perfectly, thank you so much! (As usual.) :slight_smile:

Hello Jeff,

Glad that we were able to help. Please feel free to open a new thread if you have any more queries. Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.