Forum Replies Created
-
AuthorPosts
-
February 26, 2016 at 4:06 pm in reply to: Caption content for lightbox caption instead of description content #589858
Hi Andy,
thanks for your reply. It doesn’t exactly answer my question. I know that an image has different content types in its metadata. I normally use
– title
– caption
– description
– alt text
– keywordsFrom this list the Magnific Popup uses the field “description”. When I opened the ticket I had a need for the content in field “caption”. Meanwhile I have found another solution which makes a change obsolete. Nevertheless it would be wonderful to learn where to tweak the code in order to pull content from the caption field of the image to the Magnific Popup caption.
Best regards
OliverHi Yigit,
thanks for your quick reply! 100% was too wide and 80% also affected the mobile layout, so I slightly changed your suggestion to this:@media only screen and (min-width: 768px) { #top .fullsize .template-blog .post .entry-content-wrapper > *, #top .fullsize .template-blog .post .entry-content-wrapper { max-width: 80%; margin: 0 auto; }}
It works perfectly.
Thank you!
Oliver- This reply was modified 9 years, 1 month ago by Herr von Draussen.
Hi Andy,
thanks for the reply. Meanwhile I’ve solved my problem with putting the EXIF data to the caption of the preview image:
http://vondraussen.com/costa-rica-nass-und-gluecklich/
You can close this thread.
Best regards
OliverPerfect. Thanks Ismael!
-
AuthorPosts