Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Add a head element to a Liferay page
Hello,
how do I add a head element that will affect only one Liferay page? Should I modify the head section of a theme or is there any other option?
Thank you.
Alla
Hi Alla,
What type of element you are trying to add in the page?
If its custom meta tags or open graph images, check in the page configurations.
If its css/scripts, there are few options like liferay-util:html-top, adding in theme, etc.
Regards,
Aravinth
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™