Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #809373

    Hey guys!

    Is there CSS to stop the masonry gallery from stretching fullscreen after a width of 1600px?

    Thanks!

    #809472

    Hey ccyran,

    Please try the following in Quick CSS under Enfold->General Styling:

    .av-masonry-container {
      max-width:1600px !important;
    }

    Best regards,
    Rikard

    #809487

    perfecto! Thank you!

    Last thing, is there any extra CSS to make the Masonry Gallery stay centered the wider the browser gets? It seems to stay left aligned.

    Thanks!
    Chris

    #809540

    Hi,

    I’m not sure if it’s going to work, but you can try this:

    .av-masonry-container {
      margin: 0 auto !important;
    }

    Best regards,
    Rikard

    #809586

    Ah that actually made it left aligned to the browser edge. No worries

    #809648

    Hi,

    Ok, maybe this will work better?

    .av-masonry-container {
      display: table !important;
      margin: 0 auto !important;
    }

    Best regards,
    Rikard

    #809665

    ah that made it left aligned again. same result :/

    #810816

    Hi,

    Did you move the gallery inside a color section element?

    Best regards,
    Ismael

    #811325

    Hey yep!

    #812880

    Hi,

    Do you still need the modification? The color section’s maximum width is already set to 1400px.

    Best regards,
    Ismael

    #812881

    Hey Ismael,

    I don’t. thanks!

    Chris

    #812896

    Hi,

    Right. Thanks for the update.

    Best regards,
    Ismael

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Masonry Gallery Extension’ is closed to new replies.