blakemwilson Posted June 9 Posted June 9 I created a custom translated website without using Weglot (wanted specific word for the translations) and I'm trying to change the "Donate" button on the Spanish language pages. How can I change that verbiage on a single page at a time?
Lesum Posted June 9 Posted June 9 @blakemwilson Can you share the URL of the page where you want to change the text for the Donate button? If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee?
blakemwilson Posted June 10 Author Posted June 10 Yes, it's here: https://www.marcelinoforphx.com/hogar
Solution Lesum Posted June 10 Solution Posted June 10 @blakemwilson Add this code under Website > Pages > Website Tools > Code Injection > Header <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script> <script> $(document).ready(function(){ $('#collection-666306082a0f2d4434d684bc .btn').text("custom text"); }); </script> You've to replace "custom text" in the code. If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment