This topic has 15 replies, 4 voices, and was last updated 9 years, 9 months ago ago by Robert Hall
How to Change “Add to Cart” txt button for graphic button (jpg)
or translate text “add to cart” for “Comprar”…
need to change the button style in product page
Hello,
you can change text of ‘Add to cart’ button using this Woocommerce guide: http://docs.woothemes.com/document/change-add-to-cart-button-text/
Regards,
Stan Russell.
Hello,
To change “Add to Cart” for graphic button you can use this code into custom.css file
.single_add_to_cart_button{
background: url(here must be a link to image);
}
Here is a video tutorial how to create custom.css: https://www.youtube.com/watch?v=Qok2zRedRMY&feature=youtu.be.
Regards,
Robert Hall.
I will try, thank you guys
Hello,
You’re welcome!
Regards,
Robert Hall.
ok, fine!
very thank you.
Hello PauloMeller,
is your problem solved?
Regards,
Stan Russell.
Hello Stan Russell,
need to change (text to jpg), all shop buttons (add to cart) (read more) in
single product
category
shop
etc …
Best Regards,
Paulo
Hello Stan Russell,
need to change (text to jpg), all shop buttons (add to cart) (read more) in
single product
category
shop
etc …
Best Regards,
Paulo
Hello,
You need create image files and add them via css styles as Robert described in the previous post.
Regards,
Eva Kemp.
Olá Eva,
I need to change on every page… shop, cart, checkout..etc..Robert explain only single product.
regards,
Paulo
Hello @PauloMeller,
Please provide us with links to the pages where you want make changes.
Regards,
Robert Hall.
http://www.olhequebarato.com.br/
change: add to cart & Read More Buttons
in cart page:
http://www.olhequebarato.com.br/cart/
update cart, proceed to checkout buttons…need translate for pt_BR
http://www.olhequebarato.com.br/produtos/folheados/argolas/
already used the poedit and translate the language to en_BR but do not know why there was no translation in some theme places
need to translate everything to the Portuguese br, I need this theme “talk” Portuguese
Dear Stan,
problem solved by the link that you sent.
https://gist.githubusercontent.com/woogist/1128a0803928edc4bd0f/raw/gistfile1.php
would be interesting to exchange text for .jpg
thanks a lot
Paulo
Hello,
Try to use this code:
add to cart button-
.btn{
background: url(here must be a link to image);
}
update cart button –
.btn.gray{
background: url(here must be a link to image);
}
Proceed to Checkout button –
.checkout-button{
background: url(here must be a link to image);
}
To translate them you can in royal\plugins\woocommerce\templates\cart\cart.php file.
Regards,
Robert Hall.
You must be logged in to reply to this topic.Log in/Sign up