Hi,
I am using Primefaces with Richfaces. So i am loading all my resources (JS and CSS) throw <a4j:loadStyle> tag. CSS loaded throw <a4j:loadStyle> has some Primefaces skin customization.
Even if I give <a4j:loadStyle> tag after the <p:resources/> tag in my XHTML, In HTML Primefaces resources are rendered after my user defined CSS which has Primefaces skin customization. So my customization style class is not applied.
Now i am using "!important" in my user defined CSS. it is working fine.
please suggest me is there any other straight forward solution without using "!important" .
<p:resources/> always overrides <a4j:loadStyle>
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
I couldn't fully understand the problem, can you please provide the source of the related part?
-
- Information
-
Who is online
Users browsing this forum: No registered users and 38 guests