Common snippets
Copy-paste CSS for Ventura's most-requested tweaks: logo size, hiding parts of the header and the byline, text size, card shapes, a white page, colour changes, dark-mode-only rules and printing.
Paste any of these into Settings → Code injection → Site header, then reload with Cmd/Ctrl + Shift + R.
Each block is complete, including the <style> tags. If you use several, keep one <style> tag and put the rules inside it.
Change the numbers, keep the selectors
The selectors are Ventura's stable handles, so they survive theme updates. The values are yours to tune. If a rule seems to do nothing, check When a rule does not apply.
Logo and header
Make the header logo bigger or smaller. The logo appears in the header and the footer, so scope it.
<style>
[data-region="masthead"] [data-part="logo"] { height: 40px; }
</style>Size the footer logo separately.
<style>
[data-component="footer-brand"] [data-part="logo"] { height: 28px; }
</style>Hide the header link at the end of the Search header's menu row and its row in the phone menu (add :not([data-variant]) to keep the phone row, or [data-variant="menu"] to hide only it). Without code, clear Header link label under Design → Customize → Theme → Site wide and the link goes away everywhere: see Navigation.
<style>
[data-component="header-link"] { display: none; }
</style>Hide the footer's newsletter band and the rule under it, keeping the brand, the columns and the legal row.
<style>
[data-component="newsletter-cta"][data-variant="footer"],
[data-component="newsletter-cta"][data-variant="footer"] + div { display: none; }
</style>Hide the keyboard hint in the search bar.
<style>
[data-component="search-trigger"][data-variant="bar"] kbd { display: none; }
</style>Reading experience
Make the article text a touch bigger for everyone. Readers still get Small and Large from the Aa control; this moves the Default step.
<style>
:root { --reading-scale: 1.05; }
</style>Hide the reading progress bar.
<style>
[data-component="reading-progress"] { display: none; }
</style>Hide the text size control.
<style>
[data-component="reading-size"] { display: none; }
</style>Hide the Summarize with AI menu in dark mode only. (To switch it off everywhere, use the setting instead: Summarize with AI.)
<style>
.dark [data-component="ask-ai"] { display: none; }
</style>Hiding things
Hide the proof row (the portraits and the member count) under the newsletter hero's form and in the membership band.
<style>
[data-part="proof"] { display: none; }
</style>Hide the membership band everywhere it appears. The join page keeps its own tier cards.
<style>
[data-component="membership-band"] { display: none; }
</style>Hide the secondary menu in the phone menu. The footer keeps its columns; only the groups at the end of the phone menu go.
<style>
[data-region="mobile-menu"] [data-part="secondary"] { display: none; }
</style>Hide bookmarks everywhere: the icon on cards and bylines, and the header link.
<style>
[data-component="bookmark-button"],
[data-component="bookmarks-link"] { display: none; }
</style>Hide the comment count in the byline. The thread itself stays at the end of the post.
<style>
[data-part="comments-count"] { display: none; }
</style>Cards and feeds
Turn the grid cards' pictures square.
<style>
[data-component="post-card"][data-variant="grid"] [data-part="image"] { aspect-ratio: 1 / 1; }
</style>Hide the Featured, Members and Paid pills on cards, and the star that stands in for Featured on phones.
<style>
[data-component="post-card"] [data-part="labels"],
[data-component="post-card"] [data-part="featured-mark"] { display: none; }
</style>Hide the excerpt on grid cards, for a tighter feed.
<style>
[data-component="post-card"][data-variant="grid"] [data-part="excerpt"] { display: none; }
</style>Colours
A white page. Ventura sets stories on white cards over a soft grey ground. For a white ground, move the three greys for light mode only; dark mode keeps its own:
<style>
html:not(.dark) { --vt-canvas: #ffffff; --vt-subtle: #f3f6f5; --vt-line: #e3e8e6; }
</style>Full-pixel lines on every screen. On Retina and other high-resolution screens, dividers and card edges are half a pixel wide. To keep them a full pixel everywhere:
<style>
:root { --hairline: 1px; }
</style>Change the accent as it appears in text (kickers, links, the current menu item) without changing the fills. Give dark mode its own, lighter value, or the text sinks into the dark ground.
<style>
:root { --vt-accent-ink: #0f5e5a; }
.dark { --vt-accent-ink: #9fd3c0; }
</style>Check both colour schemes
A fixed colour has to work on a light page and a dark one. Ventura's own variables (var(--vt-accent-ink) and the rest) already adjust; a hex value does not. Pair it with a dark-mode rule, as above, if you use one.
Motion
Less motion, or none. Ventura's own transitions (menus and panels, the newsletter chooser, the Monthly / Yearly switch, a chosen plan's details, the light-or-dark cross-fade, pressed icons) run off one multiplier. Set it to 0 to switch them off, 0.5 to halve them or 1.5 to slow them down. Readers who ask their system for reduced motion get none whatever you set here, and Ghost's own Portal, search and comments are not covered.
<style>
:root { --motion-scale: 0; }
</style>Dark mode only
<style>
.dark [data-region="site-footer"] { background: var(--vt-surface); }
</style>And light mode only:
<style>
html:not(.dark) [data-region="home-topics"] { background: var(--vt-surface); }
</style>One kind of page only
<style>
body.home-template [data-region="site-header"] { border-bottom: 0; }
body.post-template [data-region="feature-image"] { margin-bottom: 3rem; }
</style>The full list of page classes is in Targeting one kind of page.
Printing
Ventura already leaves out the header, the footer, the share row, the contents, the membership band, the forms, related stories and comments when a reader prints. To drop something else as well:
<style>
@media print {
[data-region="post-footer"],
[data-component="post-navigation"] { display: none; }
}
</style>Related
- Hook reference, for every handle you can target.
Hook reference
Every data-region, data-component, data-variant and data-part handle Ventura ships, in lookup tables: header and footer, the homepage, posts, archives, membership and signup forms, and the states you can select on.
Troubleshooting
Quick fixes for the most common Ventura problems: uploads and updates, settings that seem to do nothing, a missing hero section or home page row, missing plans, 404s on the topics and bookmarks pages, a post layout or video that does not appear, text size and bookmarks that are not remembered, chips that open a page, and labels still in English.