This snippet makes it so that you can centrally align any blocks on your site, like the example below:
My centrally aligned heading
Installation instructions
Step 1: Install the snippet in Super
- Open your site in the Super Dashboard
- Open the ‘Code’ page
- In the ‘CSS’ tab, paste the following snippet:
.notion-callout.bg-brown-light {
text-align: center!important;
background: transparent!important;
border: 0!important;
padding: 0px!important;
margin: 0!important;
justify-content: center!important;
.notion-callout__content {
margin: 0!important;
}
}
Step 2: Create blocks in Notion
- Create a callout block in Notion
- Give the callout a brown background
- Move any blocks inside the callout or create them inside it
- Done ✨