Jump to content

Change color only of period in custom font sentence

Recommended Posts


I created a sentence was using a code-block insert and the Custom CSS window.

I'd like to make the period orange (#fc8902).

Have this code I found elsewhere, but I don't know what to put in the green section:


div#block-1051f2c05bb7ab5f7634>div>h7:nth-child(3) {color: #fc8902;}


It escapes me. Thank you for any assistance!


Link to comment

Hi Poppyseeds

In markdown (and I am sure it would work in code blocks) if I want to isolate a certain portion of a sentence with a different style I would use inline CSS like this. Example: This is my sentence in whatever color I set in my site styles but this is my period in color<span style="color:#fc8902;">.</span>. I hope this helps. My apologies if I missed your point.

Link to comment

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.