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

    Stylesheets - portal-identity/style.css

    herqpapa

      Hi,

      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
          peterj

          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):

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


          • 2. Re: Stylesheets - portal-identity/style.css
            peterj

            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:

            <window>
             <window-name>IdentityUserPortletWindow</window-name>
             <instance-ref>IdentityUserPortletInstance</instance-ref>
             <region>left</region>
             <height>1</height>
            </window>