I am seeking advice on Google Optimize CSS code. My goal is to perform A/B testing on button colors throughout my entire WordPress website at www.interica.si. When I make changes to the CSS code in the edit mode, it seems to affect all buttons, but when I launch the test, it only changes the Index page. Can someone assist me with this issue? Is there a way to use Javascript for a global change? Any help is appreciated.
Thank you.
Below is the code snippet:
.checkout-button button alt wc-forward .current .breadcrumb-step, [data-icon-label]::after, .button#place_order, .button.checkout, .checkout-button, .single_add_to_cart_button.button, .button.single_add_to_cart_button, .button.is-outline, input[type="submit"].is-outline, input[type="reset"].is-outline, input[type="button"].is-outline {
border : 0.25px solid rgb(0, 0, 0) !important;
background-color : rgb(209, 10, 40) !important;
color : rgb(255, 255, 255) !important;
}