Show full Gallery Titles
SmugMug shows only one line of gallery titles and some of you would like to show more. Using this code you can display 4 lines of text below their gallery thumbnails.
/*-----Show full gallery titles-----*/
.sm-tiles-grid.sm-tiles-info-after .sm-tile-info-text {
display: -webkit-box;
-webkit-line-clamp: 4 !important;
}
.sm-tiles-grid.sm-tiles-info-after .sm-tile-info p {
overflow: visible !important;
}
Please be aware that the title needs to be set to be displayed BELOW the thumbnail.
You can increase the WEBKIT LINE CLAMP from 4 to even 8, to accommodate even longer titles. But 4 usually is the sweet spot.