Substack: italic image captions
Renders image captions in italic with a slightly dimmed colour, like in print magazines.
Code to copy
/* Italic and dimmed image captions */
.body.markup figcaption,
.available-content figcaption,
[class*="postBody"] figcaption,
.image-link + p > em:only-child {
font-style: italic !important;
color: rgba(0, 0, 0, 0.55) !important;
font-size: 14px !important;
text-align: center !important;
margin-top: 6px !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.