Confluence Css Templates
✔ – avoid breaking Confluence’s default UI ✔ Prefix your classes (e.g., .myteam- ) to avoid conflicts ✔ Test in different viewports – mobile + desktop ✔ Document your CSS template for other space admins ✔ Use variables if your app supports them (e.g., --primary-color )
This is the most common method for administrators to change fonts, colors, or hide elements across the entire instance.
Example inside a template:
Apps like offer:
A dark background with neon or pastel syntax highlighting. confluence css templates
/* 3. Hide the "Share" button globally (often requested for security) */ #share-content-button display: none !important;
</style>
/* Center all images on this page */ .confluence-embedded-image display: block; margin-left: auto; margin-right: auto;
<div class="spec-section"> <h3>📌 Overview</h3> <p>Write summary here.</p> </div> ✔ – avoid breaking Confluence’s default UI ✔
