Jump to content

Can I customise the colour of link text colour on a specific block

Recommended Posts

Site URL: https://porcupine-duck-zbe8.squarespace.com/experiences

I am wondering if I can customise the colour of the link text on specific sections of my website. 

 

For example I have one section on a deep blue background so would like the link to be white (including the underline)

1301078598_Screenshot2022-01-26at00_40_04.thumb.png.b287f9a58b8acf963c6d330ebcc7821c.png

 

and then below I would like the link to be the deep blue to match the text 

 


I am also having an issue with the custom colour of the blocks. I have used the code 


#block-882c1b14404aa29216bd p {color: #FFFF !important;
}

Which works when I am in the CSS editor but when I click off it is sometimes defaulting to black. Any ideas on this also welcomed!
 

103539791_Screenshot2022-01-26at00_43_04.thumb.png.229a21b3188a14cd32ab17b6a0e368a6.png

 

Edited by MillyBanks
Link to comment

#1. Add to Design > Custom CSS

/* read more color */
div#block-882c1b14404aa29216bd a {
    color: white;
    border-color: white;
}
/* read more 2 color */
div#block-5a1039435d1b66ca9c09 a {
    color: black;
    border-color: black;
}

 

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

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.