Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make different theme for some portlets

I am new to Liferay and I have the following problem. I need to create portal theme - this is ok, no problem. This will style my portal and default portlets. But in some of my own portlets I use ZKOSS pages, which reqires completely different styling. My question is, how to do it that Liferay theme classes will not influence my ZKOSS pages? There are some general styles in Liferay theme like for input etc but I dont want those rules to be applied inside my ZKOSS portlets. Hope I explained myself clearly. Any suggestions?

like image 617
Gatekeeper Avatar asked Feb 20 '23 22:02

Gatekeeper


1 Answers

You can set the <css-class-wrapper>My_Portlet</css-class-wrapper> in liferay-portlet.xml

for details see: http://www.liferay.com/community/wiki/-/wiki/Main/Liferay+UI+Guidelines

like image 136
Mark Avatar answered Mar 04 '23 23:03

Mark