论坛

主页 » Liferay Portal » English » 3. Development

组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
Ravi Kumar Gupta
Override CSS in JSF portlets
2009年11月2日 上午7:36
答复

Ravi Kumar Gupta

等级: Liferay Legend

帖子: 1145

加入日期: 2009年6月23日

最近的帖子

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