Before </body>
Astroid Framework allows you to add custom code before the closing </body>
tag of your Joomla template. This is useful for adding scripts, styles, or other code that needs to be loaded at the end of the HTML document.
How to Add Code Before </body>
- 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 Code
tab. - Scroll down to the
Before </body>
section. - Paste your custom code into the provided textarea. The code will display right before the closing
</body>
tag. Include<script>
for JS and<style>
for CSS. - Click the
Save
button to apply your changes.