Jump to content

Changing text colour of single block on a page

Recommended Posts

How do I change the font colour in a single block using custom CSS? I'd like to change text from white to dark grey. I've attached an image of the page and block ID. Alternatively, is there another easier way to do this that doesn't involve coding? I'm a novice to this so the easier the better. Thanks!

 

Link to comment
  • Replies 6
  • Views 721
  • Created
  • Last Reply

Please set up a site-wide password.

Post the password here.

Adding a site-wide password is not a security breach. Please read the documentation at the link provided to understand how it works.

We can then take a look at your issue.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

Add the following to Design > Custom CSS.

.bright-inverse #block-add769d3ca114745534e.sqs-block-image .design-layout-poster .image-title *,
.bright-inverse #block-add769d3ca114745534e.sqs-block-image .design-layout-poster .image-subtitle * {

  color : red;
  
  }

This is for v7.1 and specific to the OP's need.

You can change the color to what you need.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

It worked wonderfully! Thank you!

Do you by any chance know what code I can use to align the text in that same block to the left? It is centred right now and I can't figure out how to change it with the toolbar.

Link to comment
.image-block-poster-text-alignment-center #block-add769d3ca114745534e.sqs-block-image .design-layout-poster .image-card > * {

  text-align : unset !important;
  
  }

 

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

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.