How to Add Custom CSS to a Joomla Template
Use the template's supported custom CSS file
First check the documentation for the active Joomla template. Many templates provide a supported custom stylesheet, commonly named user.css or custom.css, specifically so site-specific rules are not mixed into distributed template files. For Cassiopeia, user.css in the template's css directory is the normal site-specific stylesheet.
Create the file in the correct template
Confirm which template style the target page uses, then open System → Site Templates and select the relevant site template. Use the template file editor to create or edit the supported custom CSS file in the location expected by that template. Back up the site before changing template files.
Add a narrowly targeted rule
Use browser developer tools to identify a stable class or element and add the smallest rule that achieves the desired result. For example, prefer a component or module wrapper class over a generic rule that changes every heading or link on the site. Add comments when a rule exists to work around a specific extension or layout behavior.
Save, clear caches, and force a fresh load
Save the stylesheet, clear Joomla cache, and clear any template, optimization, CDN, or server cache in front of the site. Reload the page with a hard refresh or private browser window. CSS changes often appear to fail because an older combined or cached stylesheet is still being served.
Check specificity before using !important
If the rule does not apply, inspect the element again and review which selector wins in the browser's Styles panel. Increase selector specificity only as much as necessary. Avoid using !important as the first fix because it can make later maintenance and responsive overrides harder.
Keep custom CSS upgrade-safe
Do not place site-specific rules directly in core Joomla CSS or in template files that the vendor routinely replaces during updates. Keep a record of your custom file and test it after template upgrades. If the template's markup or class names change, update the selectors rather than editing the new distributed stylesheet.
Need More Help with Joomla?
Still having trouble? Open a support ticket with QuantaCade Support and we'll be happy to help where we can.
Support priority is given to QuantaCade products, services, and customers. However, we're also happy to assist fellow Joomla users with general Joomla questions and troubleshooting when possible.
QuantaCade is an independent Joomla extension developer and is not official Joomla support. Some issues involving third-party extensions, hosting environments, server configurations, or other systems outside our development control may be beyond what we're able to resolve.