• Resolved krishs

    (@krishs)


    Hello,
    I’m trying to apply linear gradient color to Woocommerce Shop and single product page, but nothing is working.

    please check the below css.

    .single_add_to_cart_button.button{
    background-image: linear-gradient(
    230deg
    , var( --e-global-color-primary ) 0%, var( --e-global-color-accent ) 100%);
    }

    I tried with this also…

    .woocommerce div.product form.cart .button.single_add_to_cart_button{
    background-image: linear-gradient(
    230deg
    , var( --e-global-color-primary ) 0%, var( --e-global-color-accent ) 100%);
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @krishs,

    Could you please clarify if you’re trying to apply the color to the add to cart button?

    I’d recommend sharing a screenshot of where you’re trying to apply the color to, as well as a link to your site to help us better assist you.

    Plugin Support abwaita a11n

    (@abwaita)

    Hi,
    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem!

    If you have further questions, please feel free to open a new topic.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shop and Single product page button color’ is closed to new replies.