【问题标题】:Google optimize A/B testing global CSSGoogle 优化 A/B 测试全球 CSS
【发布时间】:2021-11-04 23:30:29
【问题描述】:

我有一个关于 Google 优化 CSS 代码的问题。我想在 Wordpress 平台上对整个网站 (www.interica.si) 的按钮颜色进行 A/B 测试。当我在编辑模式下更改 CSS 代码时,它看起来会影响每个按钮,但是当我开始运行体验时,它只会更改索引页面。你们中的任何人都可以帮助我吗?是否有可能插入 javascript 以进行全局更改?欢迎所有帮助。

您好。

代码如下:

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

【问题讨论】:

    标签: javascript html css optimization


    【解决方案1】:

    共享的 CSS 代码似乎可以正常工作。

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

    请打开您想要的容器并转到详细信息标签。

    要解决您的问题,请按照以下步骤操作:

    1.步骤:页面定位部分下,点击“编辑条件”。

    2。步骤:将Host设置为不包含

    3.步骤: 输入您想要的网址并点击保存。

    它应该可以解决您的问题。如果您有任何疑问或问题,请随时与我联系。

    问候

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-04-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-09
      • 2014-07-13
      相关资源
      最近更新 更多