Skip to main content

Before </head>

Astroid Framework allows you to add custom code before the closing </head> tag of your Joomla template. This is useful for adding scripts, styles, or other code that needs to be loaded in the head section of your HTML document.

How to Add Code Before </head>

  1. Log in to your Joomla Administrator Panel.
  2. Go to: SystemSite TemplatesTemplates (Site).
  3. Click on the Astroid template you are using.
  4. Click the “Template Options” button.
  5. Go to the Custom Code tab.
  6. Scroll down to the Before </head> section.
  7. Paste your custom code into the provided textarea. The code will display right before the closing </head> tag. Include <script> for JS and <style> for CSS.
  8. Click the Save button to apply your changes.

before-head.jpg