2 Replies Latest reply on Feb 1, 2008 2:55 PM by Peter Johnson

    Stylesheets - portal-identity/style.css

    Sandor Arpa Newbie


      Env JBoss-Portal 2.6.2

      I have tried to change the portal's stylesheets on all possible places known to me, but whatever I do the portal still injects portal-identity/style.css into the header.

      Unfortunately the portal-identity/style.css overrides my stylesheet.
      Any suggestion what I missed?

        • 1. Re: Stylesheets - portal-identity/style.css
          Peter Johnson Master

          The clue is in the comment that appears before the injection of the portal-identity/style.css:

          <!-- insert header content that was possibly set by portlets on the page -->

          Examining portal-identity.sar, in portal-identity.war/WEB-INF/jboss-portlet.xml, you find these lines (twice):

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

          • 2. Re: Stylesheets - portal-identity/style.css
            Peter Johnson Master

            As an alternative, you could just remove the identify portlet from the home page by removing the following from jboss-portal.sar/conf/data/default-object.xml: