MelindaMellukas Posted October 27, 2021 Share Posted October 27, 2021 Site URL: https://cinnamon-chameleon-6wa9.squarespace.com/ Hi, I used on footer this code and it worked well in the estonian version https://cinnamon-chameleon-6wa9.squarespace.com/et/blogi: </script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script> $('.blog-more-link:contains("Read More")').text('Loe rohkem'); </script> <style> However, how do I keep Read more in the English version? https://cinnamon-chameleon-6wa9.squarespace.com/en/blog Begona 1 Link to comment
Wolfsilon Posted October 27, 2021 Share Posted October 27, 2021 Are you able to move this code into the page specific "Advanced Code Injection" via the page settings menu instead of site-wide header/footer injection? If I'm understanding this correctly, you have several separate pages for each language in which case this might help solve your problem without writing new JS. Begona 1 Link to comment
MelindaMellukas Posted October 28, 2021 Author Share Posted October 28, 2021 Hi, unfortunately it didnt work 😞 Link to comment
tuanphan Posted October 31, 2021 Share Posted October 31, 2021 On 10/28/2021 at 2:29 PM, MelindaMellukas said: Hi, unfortunately it didnt work 😞 Edit this code <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script> $('.blog-more-link:contains("Read More")').text('Loe rohkem'); </script> to this <script> $('body.body-et .blog-more-link:contains("Read More")').text('Loe rohkem'); </script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
MelindaMellukas Posted November 1, 2021 Author Share Posted November 1, 2021 This didnt change it either. Link to comment
MelindaMellukas Posted November 3, 2021 Author Share Posted November 3, 2021 Can somebody help with this? Link to comment
tuanphan Posted November 6, 2021 Share Posted November 6, 2021 On 11/1/2021 at 8:15 PM, MelindaMellukas said: This didnt change it either. Can you add & keep the code? We can check easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment