Custom styles
Customize the appearance of your site with CSS.
Creating the file
- Create a new file named
custom.css
in the root of your repository (or the root directory of you're site's content if you're publishing from a subfolder) - Add your CSS rules to customize colors, fonts, layouts, and more
- Commit and sync your site to apply the changes
Important
When using h1 tags in custom components, you must set display: block !important;
in your CSS due to how page titles are handled internally.
For a detailed guide including examples and step-by-step instructions, check out our this blog post.