Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #548097

    Hi.

    I want to add the height of the images in the first Masonry block that have here:
    http://www.airlinestaffrates.com/

    I tried with the “portrait” tag but then the images became to high.

    What code shall I add?

    Thanks
    Charlotte

    #548107

    Hi Charlotte!

    Can you please post a screenshot and show the changes you would like to make?

    Cheers!
    Yigit

    #548137

    Hi Yigi,

    I have made the first image a bit higher, so something like this.

    Thanks
    Charlotte
    Masonry

    #548544

    Hi,

    Please try the following CSS:

    .home .av-fixed-size .av-masonry-entry .av-inner-masonry-sizer {
        padding-bottom: 85% !important;
    }

    Regards,
    Rikard

    #548601

    Thanks…

    Is there a way to show the full image in the masonry. Now it cuts the image in some way..

    Charlotte

    #549457

    Hi,

    There will always be some information in the image which will not show since the CSS is set to cover the container area. It would be more or less impossible to keep a nice looking layout and still showing the whole image since users like yourself upload images in a lot of various sizes. But post a screenshot of what you are looking to achieve and we’ll have a look if there’s something we can tweak.

    Thanks,
    Rikard

    #549739

    Thanks…. I am happy now.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Add height of image in Masonry’ is closed to new replies.