3 Replies Latest reply on May 22, 2007 6:18 AM by Ritesh

    Border of particular region portlet

    Ritesh Newbie

      Hi All,
      I need to remove border of particular portlet not to all portlets in portal. I have selected themes as renaissance and made changes in the portal_style.css file. But when I change it there, changes are reflecting in my all the portlets.

      But I only want to remove border of one center portal.Can anyone suggest the way and files where i can modify to achieve the same.

      Please reply as earliest.Thanks in advance!!!
      Ritesh.

        • 1. Re: Border of particular region portlet
          Peter Johnson Master

          In the Management Portlet, select the desired portlet window, click on the Theme link, and choose emptyRenderer for the various renderers. That will remove the borders for that portlet window.

          If you are defining the window in a *-object.xml file, you can use:

          <window>
           <window-name>ThePortletWindow</window-name>
           <instance-ref>ThePortletInstance</instance-ref>
           <properties>
           <property>
           <name>theme.windowRendererId</name>
           <value>emptyRenderer</value>
           </property>
           <property>
           <name>theme.decorationRendererId</name>
           <value>emptyRenderer</value>
           </property>
           <property>
           <name>theme.portletRendererId</name>
           <value>emptyRenderer</value>
           </property>
           </properties>
           </window>
          



          • 2. Re: Border of particular region portlet
            Ritesh Newbie

            Hi Peter,
            it worked for me, thanks a ton!!!
            now I can see that any paticular portlet without border and title bar.
            but now facing another problem for alignment of the portlet.
            Actually what's happening, I have 3 regions on my page having 3 portlet on every region and implemented IPC (interportlet communication).So in the first region there is portlet having some link, and on clicking of that, opening another page on 2nd region portlet.I have to remove border and tiltle bar of 2nd region portlet, which I have done it as u suggested. But now 2nd region portlet is moved to 1st region and overlapped on that.So it seems to mving to left and going into region first, which shouldn't happen.
            Pls suggest...
            Thanks!
            Ritesh.

            • 3. Re: Border of particular region portlet
              Ritesh Newbie

              Hi,
              I am able to solve my problem, have made some changes in the portal_style.css file.Now it's working fine.

              Thanks a lot!
              Ritesh.