youroleksii Posted August 8, 2023 Share Posted August 8, 2023 Hi! Does anyone know how to change the color of the text after clicking on it? Thanks in advance, O Link to comment
tuanphan Posted August 9, 2023 Share Posted August 9, 2023 This will require script code. If you share link to page where you use text block, we can check & give you code 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
youroleksii Posted August 9, 2023 Author Share Posted August 9, 2023 @tuanphan https://bullfrog-oboe-ll4p.squarespace.com/branding PASSWORD ollie Thank you, that would really help! Link to comment
tuanphan Posted August 10, 2023 Share Posted August 10, 2023 For future users, use some code like this <script> $(document).ready(function(){ $('div#block-yui_3_17_2_1_1691504808850_3570 a').click(function() { $(this).css('color','#a48f7d'); }) }); </script> div#b... is Text Block ID. Use this tool to find ID https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff 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