Creating custom CSS in Confluence (Data Center/Server) has become more complex over the years due to Atlassian’s move toward a "flat" design and the deprecation of the old "Documentation Theme."
Example inside a template:
## User Macro Template <div id="my-custom-box"> $body </div> confluence css templates
</style>
✨ Want a ready‑to‑copy template? [Download our example CSS template XML] (internal link) Creating custom CSS in Confluence (Data Center/Server) has
<style> /* CSS specific to only this page */ .wiki-content h1 color: #FF0000; border-bottom: 2px solid #FF0000; border-bottom: 2px solid #FF0000
Deep blues or greys for text on a crisp white background.