Jump to content

Custom background colour to only one sentence within a text block

Recommended Posts

Hi forum,

Quick question.

I'm trying to emphasise a key sentence within a larger body of text in a text block by changing the background and text colour of only that sentence. 

Essentially, I want what it looks like when you change the background and text colour in a rich text editor, like this:

 

First sentence. *Key Sentence.* Third sentence.

 

Any help would be very much appreciated.

 

 

Link to comment
  • Replies 1
  • Created
  • Last Reply

You can bold/underline/list... that text (It will has different tag compared to the rest of the text at that time), then use CSS to set background, color, size... for only that tag.

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.