Jump to content

Change color of one word 7.1 css text block

Recommended Posts

Site URL: http://www.neutherapeutics.com

Hello All-

I am very new to CSS and I am having trouble changing the color of a word. On page https://www.neutherapeutics.com/pipeline/phytoserm I am trying to change the asterix to Normal but in color blue. The goal is when using italic it ill change type to blue in normal style.

I am trying to use:

p2 em(color:#1270A5; font-style:normal!important
)

I have a feeling the problem is that the style for this color text block is overiding the above. Thank you in advance for your help

Hans

Screen Shot 2021-08-19 at 10.57.11 AM.png

Link to comment
  • 3 months later...
On 8/19/2021 at 7:00 PM, hansworks said:

Change color of one word 7.1: I am very new to CSS and I am having trouble changing the color of a word.

If you are using Squarespace 7.1 you no longer need CSS.

In October 2021, Squarespace added a 'Text Block Color Overrides' feature, allowing you to change the colour of a whole string of text or just individual characters.

To help you maintain consistency you are first presented with colours from your site's colour palette but you can choose any colour by clicking on 'Custom'.

1500938537_TextBlockColorOverrides-oct-2021.gif.032c322b8624e8d947a311194730742a.gif

  If this post has helped you, please click a 'Like' or 'Thanks' icon below  ⬇️

About me: I'm Paul. A SQSP User for 18 yrs, I joined Circle when it launched in 2016 and have been a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing expertise and 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 free. You can thank me by clicking one of the feedback emojis below. Coffee fuels my work.

Book paid help with a Squarespace Domain

Link to comment
  • 2 years later...

Create an account or sign in to comment

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

×
×
  • 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.