Now I need to change the appearance of a text in a menu with css. This appearance should look in every theme different (e.g. in aristo the hoover of a link should be white, but in the theme aristo it should be black).
Currently I load all primefaces with the pom.xml and I like to keep it that way.
Code: Select all
<!-- Primefaces -->
<dependency>
<groupId>org.primefaces</groupId>
<artifactId>primefaces</artifactId>
<version>5.1</version>
</dependency>
<!-- Primefaces Themes -->
<dependency>
<groupId>org.primefaces.themes</groupId>
<artifactId>all-themes</artifactId>
<version>1.0.10</version>
</dependency>
Code: Select all
<!-- PrimeFaces Theme Definition -->
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>#{clubCustomizedController.theme}</param-value>
</context-param>
How can I make a customized css 'for EACH theme?