Jump to content

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

Recommended Posts

I want to change the text color of a single word in the middle of a paragraph without affecting the rest of the paragraph in a text block. How can I do this?

Link to comment
  • Replies 2
  • Views 11.9k
  • 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 me: I'm Paul, a SQSP user for over 18 yrs and a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji below. Buying a coffee is optional.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

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.