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:

<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
  • 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.