Found what you have been looking for?

Generic filters
Exact matches only
Filter by Categories
Lightroom Plugin
Tools and Tips

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-tile-info-text {
    display: -webkit-box;
    -webkit-line-clamp: 4 !important;
} .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.

css, gallery title, titles

Tomasz Nowicki

My name is Tomasz Nowicki and I am a PHOTOGRAPHER and WEB DESIGNER based in the UK. Few years ago I have created my first website using SmugMug - a powerful platform for any type of photographer. I fell in love with it and from day one I have started exploring the possibilities of customizing my website. PHOTOM Portal is a my personal SmugMug knowledge base website where you can find some tips and tricks on how to use and get the most out of your SmugMug website.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.