I am trying to align images in featured posts in Modern Portfolio Pro theme so they all have the same height (see early prototype http://mariakuzmakuzniarska.com/). Is it possible to do automatically, without resizing the images on my computer to the same ratio before posting?
Thanks in advance,
I just tried it now, but it didn’t help. Thanks for suggestion anyway, it might be useful in the future.
Tag img height was set to auto which caused the image to be squashed. I removed this setting but I wonder if it will not break other things in my theme…
I can’t remove height=auto because it messes up aspect ratio when resizing the window. In fact the problem occurs only with the last image (WordPress logo), that does not react to window resizing.
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.