Jump to content

Change link colour on a single page

Recommended Posts

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:

  p a{

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

Hi! Try a couple of tweaks to your code when adding it to the page injection. This targets paragraph text, but not headings:

 p a {
    color:#c10000 !important;

christyprice.com  🇺🇸 Austin, TX US 

 Get my 100+ item Client Process Checklist for $17.
📔 Flourish Journal for Creative Entrepreneurs - 365 days of prompts
🎥 Watch Circle Live: Hello Income (feat. Christy Price and Jeremy Schwartz)
🎬 Watch It's Not Hard to Say Goodbye: Crafting Client Offboarding from Circle Day 2023

Link to comment
  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.