liferay - How to set width of Primefaces-Carousel to full page width? -
i have created carousel in primefaces/liferay. has fixed width , height. how can set full page/ full div width of portlet?
you can add custom styles primefaces-carousel following ways:
itemstyleattribute inline styling of<p:carousel>tag:
itemstyle="width:100%;"
itemstyleclassattribute style class of<p:carousel>tag:
itemstyleclass="fullwidthclass" or add width inside container either through styleclass or style attribute following:
<ice:panelgrid style="width:100%"></ice:panelgrid> <ice:panelgrid styleclass="fullwidthclass"></ice:panelgrid> css:
fullwidthclass { width: 100%; /* other properties */ }
Comments
Post a Comment