Phobic78 Posted June 10, 2022 Share Posted June 10, 2022 Hi all, I would like to be able to change the link colour for a whole page. At the moment, I have a workaround by defining a .colorchange class and then using 'span class="colorchange"' within each link. But it would be great if I could just define the link colours in the page's style header. I have tried a few variations around: <style> p a{ color:#c10000 } </style> This doesn't seem to have any effect so I'm wondering if my syntax is wrong, or if it just isn't possible? Thanks in advance. Link to comment
christyprice Posted June 10, 2022 Share Posted June 10, 2022 Hi! Try a couple of tweaks to your code when adding it to the page injection. This targets paragraph text, but not headings: <style> p a { color:#c10000 !important; } </style> Phobic78 1 christyprice.com 🇺🇸 Austin, TX US ✅ For Web Designers: Squarespace Client Process Checklist. Save time and bring consistency to your web design projects. Receive a Notion doc template with my 100+ item client process checklist. Link to comment
Phobic78 Posted August 11, 2022 Author Share Posted August 11, 2022 Sorry, @christyprice, I just realised that I didn't reply to thank you. Your suggestion worked! Thank you! christyprice 1 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