Substack: compact author header
Shrinks the post header: author avatar, title and padding, so the actual content starts sooner.
Code to copy
/* Compact author/publication header above each post */
.post-header,
.publication-header,
[class*="postHeader"] {
padding-top: 12px !important;
padding-bottom: 12px !important;
}
.post-header img,
.publication-header img,
[class*="postHeader"] img[class*="avatar"] {
width: 36px !important;
height: 36px !important;
}
.post-header h1,
[class*="postHeader"] h1 {
font-size: 28px !important;
line-height: 1.25 !important;
}
How to use this example
- Copy the code with the button above.
- Install JustZix (2 minutes) and open the extension on the target page.
- Add a new rule matching that page.
- Paste the code into the rule's CSS panel and save — the effect appears instantly.
Rate this example
No ratings yet — be the first.