Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

108
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda