Forums de discussion

Disable title bar for web content display

Evandro Viana, modifié il y a 13 années.

Disable title bar for web content display

New Member Publications: 6 Date d'inscription: 19/01/11 Publications récentes
I'm new to Liferay. I'm trying to disable the title bar for all web content display portlets only. All other porltes I would like to have a title bar. Which CSS should update?

Thanks,
E
thumbnail
Szymon Gołębiewski, modifié il y a 13 années.

RE: Disable title bar for web content display

Regular Member Publications: 246 Date d'inscription: 08/06/09 Publications récentes
Clickn on Look and Feel configuration button and select Advanced styling tab. Then add
.portlet .portlet-title{ display:none;}
it should work
thumbnail
Fais ritz, modifié il y a 13 années.

RE: Disable title bar for web content display

Junior Member Publications: 54 Date d'inscription: 11/04/11 Publications récentes
thanks it works perfectly
thumbnail
Luca Orlandi, modifié il y a 9 années.

RE: Disable title bar for web content display

New Member Publications: 10 Date d'inscription: 15/02/11 Publications récentes
I think you should add to your theme:


<!--?xml version="1.0"?-->


<look-and-feel>
        <compatibility>
                <version>6.2.1+</version>
        </compatibility>
        <theme id="xxx" name="Your Theme">
                <settings>
                        <setting configurable="true" key="portlet-setup-show-borders-default" type="checkbox" value="false"></setting>
                        <setting configurable="true" key="show-breadcrumb" type="checkbox" value="true"></setting>
                </settings>
...
</theme></look-and-feel>