mdr_willis Posted October 8, 2020 Share Posted October 8, 2020 Site URL: https://willisforsurrey.ca/home-french Hi, I'm making a multi-language website. looking to change newsletter form fields on their own language page. https://willisforsurrey.ca/home-french https://willisforsurrey.ca/home-punjabi https://willisforsurrey.ca/home-mandarin please help Link to comment
tuanphan Posted October 10, 2020 Share Posted October 10, 2020 Add to Page Settings > Advanced > Header <script> $(document).ready(function() { $('.first-name input').attr('placeholder','first new text'); $('.email input').attr('placeholder','new email address'); }); </script> If it doesn't work, try this <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('.first-name input').attr('placeholder','first new text'); $('.email input').attr('placeholder','new email address'); }); </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
ovellemark Posted October 30, 2020 Share Posted October 30, 2020 When it is a blog post - does this work? I can't figure it out on my site. Want to change placeholder text "Email address" to swedish. Site: https://www.ellemark.me/blogg/gotland-i-bilder Link to comment
tuanphan Posted November 1, 2020 Share Posted November 1, 2020 On 10/30/2020 at 9:38 PM, ovellemark said: When it is a blog post - does this work? I can't figure it out on my site. Want to change placeholder text "Email address" to swedish. Site: https://www.ellemark.me/blogg/gotland-i-bilder Add this to Code Injection Footer <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('.first-name input').attr('placeholder','first new text'); $('.email input').attr('placeholder','new email address'); }); </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
ovellemark Posted November 2, 2020 Share Posted November 2, 2020 That is awesome, thank you! Anyway I could make it NOT effecting this page? And change the labels Email and message into Swedish?https://www.ellemark.me/mer-om-mig Link to comment
tuanphan Posted November 2, 2020 Share Posted November 2, 2020 8 minutes ago, ovellemark said: That is awesome, thank you! Anyway I could make it NOT effecting this page? And change the labels Email and message into Swedish?https://www.ellemark.me/mer-om-mig Add to Page Settings > Advanced > Header if you want to apply on that page only 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
ovellemark Posted November 2, 2020 Share Posted November 2, 2020 48 minutes ago, tuanphan said: Add to Page Settings > Advanced > Header if you want to apply on that page only Sure, but there is no option for that in the blog post right? Link to comment
tuanphan Posted November 2, 2020 Share Posted November 2, 2020 24 minutes ago, ovellemark said: Sure, but there is no option for that in the blog post right? Add this new code to Blog Page Header <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('.view-item .first-name input').attr('placeholder','first new text'); $('.view-item .email input').attr('placeholder','new email address'); }); </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
ovellemark Posted November 2, 2020 Share Posted November 2, 2020 12 minutes ago, tuanphan said: Add this new code to Blog Page Header <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('.view-item .first-name input').attr('placeholder','first new text'); $('.view-item .email input').attr('placeholder','new email address'); }); </script> Worked like a charm, thank you! Anyway to change form labels Email and Message here:https://www.ellemark.me/mer-om-mig Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.