How To put Image Caption under image

Posted in: Newspaper
Post count: 159

I need some help please.

On the Modal Images (once images are clicked) in posts… I need to get the captions below the images… on all posts.

Thanks!

Post count: 159

Modal Images meaning “Lightbox”.

Post count: 7909

Hi,

You can try this custom css in Theme Panel > Custom Css – http://screencast.com/t/mfYvbdy8a

.mfp-bottom-bar {
bottom: -35px;
}

Thanks!

Post count: 159

Alin, Thanks for the quick response. A -60px seemed to work for me, I’ll have to experiment with different size images to make sure it’s consistant.

One problem I ran into was on Mobile. When in portrait mode, the caption still covers the image, when in landscape it looks similar to desktop viewing.

Is there css specifically for portrait mobile?

Thanks in advance.

Post count: 7909

Hi,

You use media queries and set a specific value that it will be applied only on mobile device, check this:

@media (max-width: 768px) {
.mfp-bottom-bar {
bottom: -60px;
}
}

Thanks!

Post count: 159

Thanks again. Last question… hopefully… Is there a way to make a separate setting for portrait mode and landscape mode.

Using these settings… When it looks good in portait mode, it looks bad in landscape mode.

Thanks!

Post count: 7909
Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.