2013-04-26 58 views
2

如何隐藏Portlet图标和标题,但在Liferay中保留编辑控件?如何隐藏Portlet图标和标题,但在Liferay中保留编辑控件?

大多数的这些样式的组合并没有帮助:

.portlet-borderless-bar { 
    display:none; 
} 

.portlet-topper { 
    display: none 
} 

.portlet-title { 
    display: none; 
} 

他们要么去除一切还是让一切。

+0

您正在使用哪个Liferay版本? – 2013-04-26 13:15:26

回答

1

试试这个:

.portlet-title-text, .portlet-title .icon { 
     display: none; 
} 
.portlet-title { 
     height: 15px; 
} 
2

使用的Liferay 6.2,

只需点击左侧的设置图标,然后选择外观和感觉,从下拉。然后在Portlet配置下,为Show Borders选择No。

相关问题