Jump to content

Change link color on a single page, not entire site

Recommended Posts

Posted

Hi! I'd like to change the color of the links on a single page, how can I set this up without affecting all of the other pages? 

  • Replies 4
  • Views 4.1k
  • Created
  • Last Reply
Posted
4 hours ago, lswn said:

Hi! I'd like to change the color of the links on a single page, how can I set this up without affecting all of the other pages? 

Hi

You can navigation to Admin->Pages-> Click on Gear icon when hover and inject the custom code into Advanced section

image.png.b26f3afc1e1b204c227e27e91cdcd892.png

image.png.29d7a6d486ee15ee13c9470965cbe24c.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted
13 hours ago, lswn said:

What is the custom CSS code I can use to change the links? My link are all in my Header 2 texts. 

Add to Home > Design > Custom CSS

h2 a {color: red;}

If one page, add to Page Settings > Advanced > Header

<style>
  h2 a {color: red;}
</style>

 

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!)

Archived

This topic is now archived and is closed to further replies.

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