FAQ / Using Custom Styles (CSS)
The default styles for user sites are intentionally minimal, allowing for maximum flexibility for user styling without needing to override defaults and worry that something will break.
The file style.css in your root public directory is sourced on all
pages of your site. style.css is just an ordinary file; you can edit
it on disk or via the Edit page. Navigate to My Site in the top
drawer, then Style, then Edit. Alternately you can find it on the
Files page.
Any styles you put in style.css will add to or override the default
styles in main.css.
Bliptown uses semantic HTML. The use of single, clearly named, accessible HTML elements is preferred over multiple obscure classes. The sections intended to be user styled are:
- body
- nav (sidebar)
- header (
_header.mdcontent) - menu (
_menu.mdcontent) - footer (
_footer.mdcontent)
- header (
- main
- section.<layout classes> (page content)
- section.<layout classes> (included page content)
- section.<layout classes> (page content)
- nav (sidebar)
Normal CSS rules apply: child elements inherit styles applied to parent elements, but a more specific style selector will override a more general one.
To get you inspired, we have a growing collection of CSS snippets.
← Previous | Source | Next →