Search code examples
jsfjsf-2icefacesicefaces-3

How To Override xp.css in Icefaces?


I am using Icefaces in my web application. I want to override some styles that are defined in xp.css.


Solution

    1. Create your own css file, eg. style.css.
    2. Put it into your web pages directory, beside the WEB-INF directory.
    3. Reference your css file in the head tag of your xhtml file(s)

    You can reference it the following way:

     <link href="style.css" rel="stylesheet" type="text/css" />