Style a published Confluence site with custom CSS
To style a published Confluence site with custom CSS, open the site in Capable Sites, go to Settings, Custom CSS, paste your CSS, check it in Light and Dark, and save. It goes live with the next publish.
#Steps
Open Capable, choose Sites, and open the site.
Go to Settings, then Custom CSS.
Paste one of the examples below into the Stylesheet pane, or choose Start from an example.
Check the preview with Light and Dark.
Select Save changes.
Publish the site: Update and Promote, or Publish now on a live site.
#Examples
#A different header colour in light and dark mode
#Brand-coloured links in page content
#Style one space differently
#Rounder panels and a stronger info border
#Hide On this page on small screens
#A few things worth knowing
Set colours in both the light and the dark block, or a light colour can show on a dark page.
You need to be a Confluence admin to see Custom CSS.
If a rule seems to do nothing, a more specific site rule may be winning. Use an equally specific selector.
#Related
Paste, preview, publish.
