Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Change White Font to Black


Trigger

Question

Site URL: https://www.triggersanj.com

Hi all, does anyone know the CSS code to change the font colour from white to black for a specific area on my homepage.

The area I would like to have black font is 'Learn More About Sanjeev' on my main homepage. At the moment there is no text there because the text was showing as white.

Thank you so much in advance.

Link to post
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0

Hello,

Changing the font color or specific properties for an item on a Squarespace page/section requires you to target the block itself. You can apply custom codes to a CSS selector within that block. You can also use a Google Chrome/Mozilla extension to find out the block ID of the element you want to change.

The code for your font color change would look like this:
 

#block-yui_3_17_2_1_1615907624400_3830 a {

color: #000000;

}

The block ID is followed by an "a". The "a" commonly represents the selector to change the CSS properties for a button.

 

Hope this helps!

Link to post

Create an account or sign in to comment

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


×
×
  • Create New...