Jump to content

How do I change the color of single word in a text block?

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

@JulieBYou can't do this with a Text Block. However, you can put your text in a Markdown Block or a Code Block and change the formatting of portions of the text within it.

For example, in a Markdown Block type


Roses are <span style="color:red">red</span>, violets are <span style="color:blue">blue</span>.

Here's a useful guide on the Markdown Block.

I hope that helps!

Paul

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

Link to comment
  • 1 year later...

I've created Squint, a plugin for Squarespace that allows for custom styles, more headings, superscript, subscript, underline and more. You can select a single word in the middle a sentence, a list item, a paragraph, or whatever - like you'd expect with most WYSIWYG editors.

So if it's something you're doing fairly often, or you don't want to have to work within a markdown or code block, it's another option.

-Brandon

If a response helped you out, send a 'Like' 👍 (bottom-right) and/or 'Upvote' vote.jpg.c260784ece77aec852b0e3049c77a607.jpg (top-left)

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.