DIY | Library | Headers
How to Customise Headers in Squarespace Using CSS
This post is all about styling Squarespace CSS headers. Whether you want to tweak font sizes, add letter spacing, adjust padding or centre-align your headers, this post includes copy-and-paste code you can use straight away. The accordion blocks below are grouped by header type (like H1, H2, etc.) so you can easily find what you need.
I’ll keep adding more header code snippets as I come across new tweaks in client work or projects. Got questions? Feel free to drop me an email at sarah@foubography.com.
-
/* header background: background color, padding and corners */
#block-ID {
background: #color;
border-radius: 20px;
padding: 20px;
padding-bottom: 0px; }
Related posts
Looking to customise your Squarespace site with code? This post is part of the DIY | LIBRARY —a growing collection of practical code snippets designed for Squarespace users who want to take control of their site’s design and functionality. Whether you’re tweaking your navigation, adjusting your mobile menu, or styling buttons, these copy-paste solutions are clean, reliable, and built with SEO and usability in mind. Bookmark this space for easy access to Squarespace custom code that works.