Foren
Liferay inheriting css files from portlets
K F, geändert vor 7 Jahren.
Liferay inheriting css files from portlets
Junior Member Beiträge: 52 Beitrittsdatum: 11.01.17 Neueste Beiträge
Hi Liferay community,
Is it possible somehow to prevent a theme from inheriting css files from portlets? I attached a custom portlet and it has css files which affects my theme. Thank you for help in advance.
Is it possible somehow to prevent a theme from inheriting css files from portlets? I attached a custom portlet and it has css files which affects my theme. Thank you for help in advance.
Samuel Kong, geändert vor 7 Jahren.
RE: Liferay inheriting css files from portlets (Antwort)
Liferay Legend Beiträge: 1902 Beitrittsdatum: 10.03.08 Neueste Beiträge
Since CSS is a client side technology, the answer is no. I generally don't like to have CSS is my portlet. Instead, I like to keep all my CSS in the theme.