Jump to content

What is the CSS for adding a custom font to H1 for 'Normal' and another font for 'Italic' ?

Recommended Posts

  • Replies 1
  • Views 181
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Try this:

h1 i {
  font-family: 'YOUR_FONT_FAMILY';
  font-style: normal;
}

Since you haven't provided the font family info, you'll have to put that in yourself. Let me know if I can help further.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.