Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Stephanie Lemaire
How to change size of the icons in descriptive or icon view
June 14, 2013 7:23 AM
Answer

Stephanie Lemaire

Rank: New Member

Posts: 5

Join Date: January 19, 2012

Recent Posts

Is it possible to change the size of the icons that are shown when viewing the descriptive or icon view within the Document Portal?

We have a requirement to view the descriptions, but because of the size of the icons you have to scroll considerably as only a couple show on the screen at any given time.
Victor Zorin
RE: How to change size of the icons in descriptive or icon view
June 15, 2013 3:15 AM
Answer

Victor Zorin

Rank: Liferay Legend

Posts: 1171

Join Date: April 14, 2008

Recent Posts

Did you try to override the original styles using your theme css? e.g.:

.portlet-document-library-display .entry-thumbnail .thumbnail {
max-width: 50px;
max-height: 50px;
width: 50px;
}

You can even hide the image if you do not want to display it, e.g.
.portlet-document-library-display .entry-thumbnail .thumbnail {
display:none;
}