How to change the text content of add to basket button?
-
how can i change the text content of ‘add to basket’ button? i want to replace that with add to cart! also how can i remove that blank space above header?
Hello,
You can translate/rewrite all theme and plugin texts via PO file in WordPress. Here is a video tutorial that should help you translate your website texts with a Loco Translate plugin https://www.youtube.com/watch?v=D3NsDdMzsls&list=PLMw6W4rAaOgKKv0oexGHzpWBg1imvrval&index=3
Please check the video tutorial to see how to save the translation file correctly. You can remove the plugin and translations would remain. Also, translations would remain after each theme update.
In order to translate the WooCommerce strings, you need to create a separate translation in Loco > Plugins > WooCommerce in the same way as shown in the video.
Best Regards
i don’t want to change the language but i want to replace that text with a different one.
for example, Add to Basket > Add to Cart
also how can i remove the blank space above header section?
Hello,
When you create the translation file in the same language which you have set in Dashboard > Settings > General, you can replace a string and rewrite it this way. Please check and follow this: https://localise.biz/wordpress/plugin/manual
Loco is the only way to change the text correctly without touching the code. Changing the code would reset every time you update the theme or Woocommerce.
Best Regards
how can i remove the blank space above header section????
Hello,
This padding is important for all the Woocommerce templates, in order to remove it from the home page you need to add this negative margin to the first section if you use Elementor https://prnt.sc/uhivji or set margin-top:-40px in the upper row settings: http://prntscr.com/lexqqs for WP bakery page builder.
Best Regards