Customize style of WooCommerce Add To Cart button?

This topic has 5 replies, 2 voices, and was last updated 3 years, 3 months ago ago by Airtite

  • Avatar: Airtite
    Airtite
    Participant
    January 13, 2021 at 13:33

    Is it possible to customize the style (i.e. background color, padding) of the WooCommerce (the one you get with the [add_to_cart] shortcode) via XStore settings? It seems like it should be possible, but I can’t find the option anywhere.

    4 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 13, 2021 at 15:13

    Hello,

    We don’t have special option to customize the styles of the button that you get using that shortcode. But we can give you custom CSS ty change styles, provide us with the link to page where you use that shortcode and temporary WP Dashboard access. Tell us what styles you want to get and we’ll help you.

    Regards

    Avatar: Airtite
    Airtite
    Participant
    January 13, 2021 at 15:49

    Thanks for the offer, but I can work out the CSS to customize it.

    XStore seems to have options to customize about everything imaginable. Is there a specific reason you don’t have an option to customize the Add to Cart button?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 13, 2021 at 16:17

    Hello,

    We have options to customize types of buttons (Dark, light, active) in Theme Options > Styling but did not create option specially for the add to cart because we have different design for this button on the shop page and on the single product page, button shortcode. But we can’t create the option for each of these buttons because every additional option takes site/server resources.

    Regards

    Avatar: Airtite
    Airtite
    Participant
    January 13, 2021 at 19:48

    I ended up just using a native button with a link to /?add-to-cart={productid}. Seems to work fine.

  • Viewing 5 results - 1 through 5 (of 5 total)

The issue related to '‘Customize style of WooCommerce Add To Cart button?’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.