Replies: 2 comments 1 reply
-
|
Anyone know the answer to this?? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Thank you for your help.
I'm working on a few non-critical sites to educate myself in the gantry platform.
Every bit helps 😊
…On November 15, 2025 6:42:30 AM EST, Grant Hood ***@***.***> wrote:
Hi @Old-Paul - if you're using a Gantry template, go into Components > Gantry 5 Themes > Default Theme and if you're wanting this script to go onto every page then in Base Outline go to the Page Settings tab and you can inject content into your template there. If it's Javascript scroll down to the bottom to Atoms and if it's not there already, drag the Custom CSS / JS button into the White Atoms bar and click. You can now go into its settings and add a new Javascript item. You can then either put the JS directly into the Inline Javascript box or enter its file location into the input for that. There's a checkbox to specify if it's to go just before </body> Then click on Apply and you're done. Then just ensure that all your other templates are inheriting the Atoms from Base Template.
If you only want it on selected pages then you'll need to go back into the CSS/JS Atom for that page and override the Inheritance.
Hope that makes sense but if you're not sure on any of that, let me know.
--
Reply to this email directly or view it on GitHub:
#3359 (reply in thread)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a code to insert just before the closing tag of the index page of site. I cannot find a file that has the tags?
Joomla 6.
/root/templates has an index.php but it does not contain any actual page HTML. Likewise in the /media/templates
No where can I find a page to add the code for our ADA helper.
Need place script just before the closing body tag
Can someone tell me where this file is?
Thanks much.
Beta Was this translation helpful? Give feedback.
All reactions