Jump to content

Change H1 size on portfolio items only

Recommended Posts

Hi all,

i would linke to change the size of H1 on portfolio items only.

I'm now using CSS, like: 


#item-65a4095df4576c65334b0303 h1 {
  font-size: 2.5rem !important;
}

to target every portfolio item individually.

Is there a way to target all portfolio items together instead of every single #item-ID?

Thank you!

Link to comment
  • Replies 1
  • Views 261
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Add the code within style tags in the portfolio page header code injection:

<style>
h1 {
  font-size: 2.5rem;
}
</style>

 

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!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark 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.