Bookworm Posted November 28, 2022 Share Posted November 28, 2022 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
Solution Ziggy Posted November 28, 2022 Solution Share Posted November 28, 2022 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 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) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Bookworm Posted December 19, 2022 Author Share Posted December 19, 2022 Thanks heaps, @Ziggy, appreciate it. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment