Documentation & How To's
Stylus is a free HubSpot CMS theme. This page covers what you need to get a site running.
1. Install and set up
- Install Stylus from the HubSpot Marketplace into your account.
- Go to Settings > Website > Pages > Brand Kit and add your logo and brand colors. The header, footer and theme colors start from these.
- Open Content > Website Pages > Create > Website page, choose Stylus, and pick a template.
2. Theme settings
Open the theme settings from Content > Design Manager > Stylus > Edit theme settings (or from the page editor, Theme > Edit theme settings). Changes apply to the whole site.
- Colors: primary and secondary colors, plus separate light and dark color schemes (backgrounds, text, links).
- Typography: heading, body and accent fonts, and text sizes.
- Buttons, borders, spacing: button style and radius, card corner radius, and the maximum content width.
- Header & Navigation: header height, shrink on scroll, mobile menu breakpoint, and link styles.
- Footer: color scheme, width, and menu link styles.
3. Header and footer
Both are edited once and apply to every page. Click the header or footer in the editor, choose the menu you built under Settings > Website > Navigation, and set the logo, buttons and language switcher. Each has a drag-and-drop area above it, for example for an announcement bar.
4. Templates
Stylus includes templates for Home, About, Services, Solution Landing Page, Case Studies, FAQ, Contact and a blank Page. It also includes a Blog Listing, a Blog Post, and the system pages (404, 500, password, search, subscriptions). Each template is made of sections you can edit, remove or reorder.
5. Sections and modules
In the page editor, open Add > Sections to insert a ready-made block, such as a hero, feature grid or FAQ. Add individual modules from Add > Modules. Every module has the same spacing and animation settings at the bottom of its panel.
Modules: Hero, Icon Grid, Card Grid, Card, Content Media Split, Hover Cards (Stacked and Overlay), Logo Wall, Quote Wall, Form, Display Text, Text, Image, Icon, Badge, Button Group, Link, Divider, Spacer, Toggle Group.
6. Blog
Create a blog in Settings > Website > Blog and choose the Stylus Blog Listing and Blog Post templates. Show or hide the author, date and tags in the theme settings under Blog.
7. Languages
Stylus includes English, Spanish, French and German text for the labels it writes itself. Create a translation of a page in the editor and edit the content for each language. The header and footer can have a separate version per language.
8. Customizing safely
To change the theme's code or add your own styles, create a child theme of Stylus instead of editing it. This keeps your changes when Stylus updates.
9. Support
Email dev+cassierwight@gmail.com. Please include a link to the page and what you expected to happen. We cannot guarantee support at this time, but will do our best to help and provide code updates.
