Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

111
Views
Google optimize A/B testing global CSS

I have a question regarding Google Optimize CSS code. I want to A/B test button colors across the whole website (www.interica.si) on Wordpress platform. When I change the CSS code in the edit mode it looks like it impacts every button but when I start running experience it changes only the Index page. Can any of you please help me? Is there a possibility to insert javascript for global change? All help is welcome.

Greetings.

Here is the code:

.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;
}
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

the shared CSS code seems to work just fine.

.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;
}

Please open up your desired Container & go to the Details tab.

To solve your issue, follow the next steps:

1. Step: Under Page targeting section and click "Edit Condition".

2. Step: Set Host to does not contain

3. Step: Enter your desired website address & click save.

It should solve your issue. If you have any questions or problems feel free & contact me.

Greetings

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!