You can add your own CSS without editing any of the template's files, so a template update won't wipe it out. Use it when you want to adjust the design, or when a third-party extension needs a little styling to fit in.
Add your CSS in the template settings
- Log in to your Joomla administrator.
- Select System, then Site Template Styles, and select your template.
- Open the header and footer custom code tab.
- In the field for the template header, add your CSS inside a style tag:
<style> .example { color: #333333; } </style> - Select Save & Close, then reload your site to check it.
The field is placed in your site's head, on every page that uses this template style.
Why not edit the template's own files?
When you install a template update, the package replaces the template's files, including index.php and its CSS. Any changes you made there are lost. The settings are stored in Joomla's database, so they stay.
All our current templates have this tab. Read more about the header and footer code settings.