Images with Captions aren't responsive!

fehrbaby
1 Posts
fehrbaby posted this 17 August 2016

Can someone help me?

My images are responsive, but as soon as I add a caption, they lose responsive functionality. You can see what I mean here:

http://jayceedelorenzo.com/sample/blog/

You can see that the first post (sample 1) has a caption and is not responsive.
The second post (sample 2) does not have a caption and so the image is responsive.

How can I fix it so that the captioned images are responsive?

Thanks - Jaycee

Can someone help me? My images are responsive, but as soon as I add a caption, they lose responsive functionality. You can see what I mean here: http://jayceedelorenzo.com/sample/blog/ You can see that the first post (sample 1) has a caption and is not responsive. The second post (sample 2) does not have a caption and so the image is responsive. How can I fix it so that the captioned images are responsive? Thanks - Jaycee

Last edited 17 August 2016 by fehrbaby

Vote to pay developers attention to this features or issue.
1 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 18 August 2016

Hi,

The WP caption has it's own styles that makes the image look this way. Try to add the following code under the Home >> Settings >> Additional CSS:

@media (max-width: 978px)
{
.wp-caption {
    width: 100%!important;
}
}

Sincerely,
Hella

Hi, The WP caption has it's own styles that makes the image look this way. Try to add the following code under the Home >> Settings >> Additional CSS: @media (max-width: 978px) { .wp-caption { width: 100%!important; } } Sincerely, Hella
You must log in or register to leave comments