Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #323276

    Hello,

    I am trying to setup a Masonry blog in a color section so it stays in the container. I want it to be more than 2 columns however every Masonry layout I choose it always goes into 2 columns. Is there anyway to change that.

    Thanks

    #323278

    Hey Pappasdg!

    Can you post the link to your page where you have your masonry element? Also, how many column would you like to display?

    Regards,
    Yigit

    #323298
    This reply has been marked as private.
    #323504

    Hi!

    Thank you for the info.

    You can change the masonry column width with this on Quick CSS or custom.css:

    #top .container .av-masonry-entry {
    width: 25%;
    }

    If you want 3 columns, use this:

    #top .container .av-masonry-entry {
    width: 33%;
    }

    Cheers!
    Ismael

    #325264

    I used the css code to make it 4 columns and works great.

    Only thing is how can we make automatically change to like 3 or 2 or 1 column when resizing the browser.

    When I resize the browser, it keeps showing in 4 columns which is not good.

    Hope you can help.

    Thanks,
    MP

    • This reply was modified 9 years, 6 months ago by Kevin.
    #325423

    Hey!

    Thank you for visiting the support forum.

    You can use media queries to change the size of the masonry entries on different screen sizes. Something like this:

    @media only screen and (max-width: 989px) {
    #top .container .av-masonry-entry {
    width: 33%;
    }
    }

    This will set the columns to 3 on iPad or iPhone screen size view.

    Best regards,
    Ismael

    #325641

    Thanks on the iPad works great with the css code you provided.

    http://kc.bydecosta.com
    What would the css code be for the iphone to show one image in one column.

    #325648

    Hey!

    Please add following code to Quick CSS as well

    @media only screen and (max-width: 480px) {
    #top .container .av-masonry-entry {
    width: 100%;
    }}

    Best regards,
    Yigit

    #325700

    Awesome exactly what I needed.

    Off topic but regarding the background for the homepage on http://kc.bydecosta.com

    On the browser and ipad looks great.

    On the iPhone, what can we do so that it resizes properly because it looks bad… hope you can help.

    http://kc.bydecosta.com/wp-content/uploads/IMG_3939.png

    Thank you so much for the amazing support.
    MP

    #326090

    Hi!

    You can try this:

    @media only screen and (max-width: 480px) {
    .avia-full-stretch {
    background-size: 100%;
    }
    }

    Cheers!
    Ismael

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.