Since the author is using bootstrap, I was doing the following in a custom js,
$(“.featured_image img”).addClass(“img-responsive imageCentering”);
$(“.entry-content img”).addClass(“img-responsive imageCentering”);
$(“.entry-content iframe”).wrap(“<div class=’embed-responsive embed-responsive-16by9′></div>”);
$(“.entry-content video”).wrap(“<div class=’embed-responsive embed-responsive-16by9′></div>”);
But, I liked your CSS option much better, so added the following changes to the styles,
.entry-content img {
width: 100%;
height: 100%;
}
.entry-content iframe {
width: 100%;
height: 100%;
}
.featured_image img {
width: 100%;
height: 100%;
}
Thanks.