| sidebar_position | 2 |
|---|
Astroid Framework allows you to add custom CSS to your Joomla template easily. This is useful for making quick style changes without editing the core template files.
- Log in to your Joomla Administrator Panel.
- Go to:
System→Site Templates→Templates (Site). - Click on the Astroid template you are using.
- Click the “Template Options” button.
- Go to the
Custom Codetab. - Scroll down to the
Custom CSSsection. - Paste your custom CSS code into the provided textarea.
- Click the
Savebutton to apply your changes.
You can create custom.css file and add it to your template. This file will be loaded automatically by Astroid Framework.
- Go to your Joomla template directory:
/templates/your_template_name/css/or/media/templates/site/your_template_name/css. - Create a new file named
custom.css. - Add your custom CSS styles to this file.
- Save the file.
- The custom CSS will be automatically loaded by the Astroid Framework.
- To do this, go to the
Custom Codetab in your template options and scroll down to theCustom CSS Filessection. - Here, you can specify additional CSS files that you want to include in your template.
- You can add the file paths of your custom CSS files, one per line. You can use either a full URL or a path relative to the Joomla root directory. For example:
custom.csshttps://www.example.com/css/custom.css/media/templates/site/your_template_name/css/custom.css/templates/your_template_name/css/custom.css
- Go to your Joomla template directory:
/templates/your_template_name/scss/customor/media/templates/site/your_template_name/scss/custom. - Create a new file named
custom.scss. - Add your custom SCSS styles to this file.
- Save the file.
- Clear Astroid cache from the template options.
- The custom SCSS will be automatically compiled and loaded by the Astroid Framework.
- Go to your Joomla child template directory:
/templates/your_child_template_name/scss/customor/media/templates/site/your_child_template_name/scss/custom. - Create a new file named
custom.scss. - Add your custom SCSS styles to this file.
- Save the file.
- Clear Astroid cache from the template options.
- The custom SCSS will be automatically compiled and loaded by the Astroid Framework.


