• Resolved ashutoshdikshit

    (@ashutoshdikshit)


    I use the theme Sinatra and I have added some of the products on my home page and there is a button add to cart on it. how do I change the style and color of it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @ashutoshdikshit ,

    Thanks for reaching out!

    If your theme did not override the default “Add to cart” button then you can target the button using this CSS and style them –

    .single_add_to_cart_button.alt {
        background-color: #ccc;
        color: #222;
    }

    You need to add this CSS in your wp-admin > Appearance > Customize > Additional CSS field.

    If these do not work then your theme might have overridden the default structure. In that case, you can contact them for the correct guidelines or share your product URL here.

    Thank you ??

    Thread Starter ashutoshdikshit

    (@ashutoshdikshit)

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘woo commerce add to cart button’ is closed to new replies.