Widen Image Title in Lightbox
W.W. Webster
Registered Users Posts: 3,204 Major grins
I implemented the following CSS to widen both the titles and captions of images displayed in the Lightbox view:
However, while the caption is lengthened, I've just noticed that title line is still wrapping short of the 1000px limit.
Do I have a syntax error in my code, or could there be another problem somewhere?
/* Make the width of the lightbox caption and title wider */ .sm-user-ui .sm-lightbox-caption, .sm-user-ui .sm-lightbox-title { max-width: 1000px !important; }I also widened the relevant panel to 1010px accordingly.
However, while the caption is lengthened, I've just noticed that title line is still wrapping short of the 1000px limit.
Do I have a syntax error in my code, or could there be another problem somewhere?
0
Comments
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
Images in the Backcountry
My SmugMug Customizations | Adding CSS to Your Site | SEO for the Photographer | Locate Your Page/Widget Number | SmugMug Help Desk
How about this?
.sm-lightbox-basic .sm-lightbox-ft-center .sm-lightbox-info > p {
max-width: 100%!important;
}
Dave
I appreciate your response,