Jump to content

Any way to not include paragraph in CSS code?

Recommended Posts

Hello! How do I code my custom font to only appear in paragraphs, and not the paragraph titles? I would like to use my site's default header font but would like to change the paragraphs and have managed to do so with this:

@font-face {    
font-family: 'Inter';       
src: url(https://static1.squarespace.com/static/617fd453c9cdae47af322207/t/6194d6ce392000327a9eef1f/1637144273253/Inter-Regular.ttf); 
}
@font-face {    
font-family: 'Inter Black';       
src: url(https://static1.squarespace.com/static/617fd453c9cdae47af322207/t/6194d6d74b2c840fa7e975eb/1637144282089/Inter-Black.ttf); 
}

But it also changes the font of the titles, which I don't want it to do. Any suggestions? Thanks in advance!

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

On 11/17/2021 at 6:19 PM, meristemmedia said:

Hello! How do I code my custom font to only appear in paragraphs, and not the paragraph titles? I would like to use my site's default header font but would like to change the paragraphs and have managed to do so with this:

@font-face {    
font-family: 'Inter';       
src: url(https://static1.squarespace.com/static/617fd453c9cdae47af322207/t/6194d6ce392000327a9eef1f/1637144273253/Inter-Regular.ttf); 
}
@font-face {    
font-family: 'Inter Black';       
src: url(https://static1.squarespace.com/static/617fd453c9cdae47af322207/t/6194d6d74b2c840fa7e975eb/1637144282089/Inter-Black.ttf); 
}

But it also changes the font of the titles, which I don't want it to do. Any suggestions? Thanks in advance!

Kindly share your site with the protected password to check it together

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

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.