Jump to content

How to highlight key words in a different font

Go to solution Solved by creedon,

Recommended Posts

Hi

My base font is a sans serif and I'd like to highlight key words serif font.
At present the only way I can do this is by having separate tex boxes which doesn't format well. Is there a way to do it in the same text box?
How can I do this please?
See example attached.
Thanks

Screenshot 2023-11-12 at 17.17.46.png

Link to comment
  • Replies 2
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

  • Solution

You can change all italics text to a serif.

For a site-wide effect add the following to Website > Pages > Website Tools > Custom CSS.

.sqs-block-html em {

  font-family : serif;
  font-style : unset;
  
  }

This is for v7.1.

The effect could be restricted to a page or even specific blocks with different CSS selectors.

You could also choose a font other than the basic serif font.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.