1

I need to run an alternate header on a single top-level Joomla page. From what I can see, unlike Wordpress Joomla doesn't assign an ID to individual pages, making this a pain.

I'm wondering if I can target the element using javascript or something. Like choosing the base URL of the page and targeting the element on the page?

This would be better as it would mean I don't have to create an additional include, which would be overridden by the next template update anyway.

Any guidance on helping me solve this problem would be really helpful.

  • Actually resolved this myself - In the menu configuration there is an option to add a page class. Only issue now is changing the logo to an alternative version. – Nick Aug 28 '18 at 8:29
1

Solved by finding an option in the individual menu item to add a class to the body element. This allowed me to target a specific page.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.