Theme Customization
Custom CSS (Starter+)
Section titled “Custom CSS (Starter+)”Add custom CSS via PUT /blogs/:id with theme_config.customCss:
{ "theme_config": { "customCss": "body { font-family: 'Georgia', serif; } h1 { color: #1a1a2e; }" }}Or use Dashboard → Settings → Theme → Custom CSS.
Header & Footer HTML (Creator+)
Section titled “Header & Footer HTML (Creator+)”{ "theme_config": { "headerHtml": "<nav><a href='/'>Home</a> | <a href='/about'>About</a></nav>", "footerHtml": "<footer>© 2026 My Blog</footer>" }}Ad Code (Starter+)
Section titled “Ad Code (Starter+)”Insert ad network code (e.g., Google AdSense):
{ "theme_config": { "adCode": "<ins class='adsbygoogle' data-ad-client='ca-pub-xxx'></ins>" }}The ad code is rendered between the post content and comments section.
| Plan | Badge |
|---|---|
| Free, Starter | ”Powered by Postlark” badge shown |
| Creator+ | Badge removed |
Default Theme
Section titled “Default Theme”Postlark’s default theme includes:
- Fluid typography (responsive font sizes)
- Automatic dark mode (prefers-color-scheme)
- Code block syntax highlighting with copy button
- Reading progress bar
- Skip-to-content link (accessibility)
- Responsive images