Jump to content

Assigning a block H4 or H5

Go to solution Solved by Ziggy,

Recommended Posts

Hi,

I have seen that it is possible to add styles for H4 or H5.  Through the text block editor, I see H1-H3.  How would I with CSS be able to use or assign h4 or H5 to a block?

Is this the case of using pseudo classes to add content?  I am not super savvy, but can do css code edits.  I haven't yet used the other code customizing options but keen to learn.

Cheers

 

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

To have an H4 or H5, you need to set styles in CSS (size, font, weight, etc) and then use a code block instead of a text block and then use HTML to add your H4 heading text:

CSS:

h4 {
  font-family:Times New Roman;
  font-size:2rem;
  font-weight:600;
}
h5 {
  font-family:Times New Roman;
  font-size:1.6rem;
  font-weight:400;
}

HTML code block:

<h4>
  This is a heading 4
</h4>
<h5>
  This is a heading 5!
</h5>

 

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

Link to comment
  • 3 weeks later...

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.