Site logo

Archived topic

Customization of add to cart button

7 replies · Started by Laura on July 21, 2020

Viewing posts 1–8 of 8

Hi!

I am trying to change two things in add to cart button:

1.- I want to change Add to cart text for COMPRAR. Done
2.- I want all the buttons of my site with border-radius= 50px

When I do the 1st change, the 2nd doesn't work ok.

Thanks a lot for your help!!

Hi there,

i cannot see an Add to Cart button - Can you link me to a page where i can see the issue ?

You would need to include this class in your CSS:

.woocommerce div.product form.cart .button

Thanks! Solved

There is any way to do this action to all the buttons on the website? I mean all the buttons with border-radius=50px?

It depends on how the buttons were generated.

Can you link me to pages where I can see other buttons?

Try this CSS:

button, html input[type="button"], input[type="reset"], input[type="submit"], a.button, a.button:visited, a.wp-block-button__link:not(.has-background) {
    border-radius: 50px !important;
}
This archived topic is closed to new replies.