Align image height in featured posts in Modern Portfolio Pro theme

Community Forums Forums Design Tips and Tricks Align image height in featured posts in Modern Portfolio Pro theme

This topic is: resolved

Tagged: ,

This topic contains 5 replies, has 3 voices, and was last updated by  Chouan44 4 days, 4 hours ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #85881

    loomchild
    Member
    Post count: 4

    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,
    Jarek

    http://mariakuzmakuzniarska.com/
    #85898

    Sridhar Katakam
    Participant
    Post count: 1063
    #85907

    loomchild
    Member
    Post count: 4

    I just tried it now, but it didn’t help. Thanks for suggestion anyway, it might be useful in the future.

    #87080

    loomchild
    Member
    Post count: 4

    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…

    #87100

    loomchild
    Member
    Post count: 4

    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.

    #129434

    Chouan44
    Participant
    Post count: 3

    It worked perfectly for me !

    Thank you a lot !

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.