Jump to content

How to change the font size for some letters of a text?

Recommended Posts

  • Replies 1
  • Views 507
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted (edited)

h1 em, h2 em {
  font-family:'';
  font-style:normal;
  font-size:20px;
}

You can turn your text that you want a different size into italics and input this code. The em is targeting italic text. You can remove the 'font-family' if you don't want to change the type of font. You can also change the size by changing the amount of px until you get your desired amount. Let me know if this helps! 

Edited by Websley
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.