Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 210725

Image Resize for columns – CSS Fix

$
0
0

Replies: 0

When you use images in columns, SU has a parameter setting the maximum width to 100%. The issue with this is that because WP automatically sets the height and width, when the image width is resized to less than the original the height remains the same, thus losing the proportions.

As a fix for this, we need to add the CSS … height: auto where you set the width to 100%.

I can, and am, doing this in custom CSS, but thought I’d let you know so you could include it in your next update.

This issue probably affects embedded elements as well.

Thanks,

Justin


Viewing all articles
Browse latest Browse all 210725

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>