如何隐藏portlet图标和标题,但在Liferay中保留编辑控件?
这些样式的大多数组合都没有帮助:
.portlet-borderless-bar {
display:none;
}
.portlet-topper {
display: none
}
.portlet-title {
display: none;
}
他们要么删除一切要么保留一切
使用Liferay 6.2,
只要点击左边的设置图标,从下拉菜单中选择外观和感觉。然后在Portlet Configuration下,为Show Borders选择No。
试试这个:
.portlet-title-text, .portlet-title .icon {
display: none;
}
.portlet-title {
height: 15px;
}