留言板

Override CSS in JSF portlets

thumbnail
ravi kumar gupta,修改在14 年前。

Override CSS in JSF portlets

Liferay Legend 帖子: 1302 加入日期: 09-6-24 最近的帖子
Hello Frnds,

I am using visual web jsf with Netbeans(portal pack) to create JSF portlets. I want to apply my own styles onto the views. I tried modifying stylesheet.css but its not getting reflected.

The styles are coming from webui-suntheme.jar applied by netbeans while creating project. One solution is to modify the jar file but we have already created many portlets and dont want to modify jar now.

I tried adding styles to custom.css of my custom theme but there also its not getting reflected. When I see the applied css through firebug, custom.css appears after defaults css. This is case with this only. Rest all places work fine with custom.css.

Please help.

Thanks