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
layout templates - _layout.scss & images proper location?
Hi all,
As part of my theme I have a custom layout template. I want to keep the styles and images for the template separate from those of the main theme. I have tried creating a folder css and placing _layout.scss in there as well as in the root of the layout/custom/{layout-name} folder but it doesn't appear to get applied. Also do I just put images in the root directory? Is there any special include directive I need to use to include the css in the layout template?
thanks
As part of my theme I have a custom layout template. I want to keep the styles and images for the template separate from those of the main theme. I have tried creating a folder css and placing _layout.scss in there as well as in the root of the layout/custom/{layout-name} folder but it doesn't appear to get applied. Also do I just put images in the root directory? Is there any special include directive I need to use to include the css in the layout template?
thanks
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™