[Support request] Masonry not working properly until window resize

Home Forums Support [Support request] Masonry not working properly until window resize

Home Forums Support Masonry not working properly until window resize

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

    Hi Tom & GP,

    Im having a problem with my masonry layout on front page blog and archive pages. The masonry grid doesnt display correctly (1 column showing only, instead of 2) on initial page load in certain window widths. As soon as the window is resized the masonry snaps in correctly.

    You can replicate this on my website with window width ~800px in Chrome (Im using Version 67.0.3396.99 (Official Build) in Windows 10).

    Please advise

    #619831
    Tom
    Lead Developer
    Lead Developer

    Hi Peter,

    That’s strange. Is this only happening at 800px? I’ll do some digging ๐Ÿ™‚

    #619860
    Peter

    Thatโ€™s strange. Is this only happening at 800px? Iโ€™ll do some digging ๐Ÿ™‚

    Its around that area yes. Seems to be when the margins go out all the way to the side and before mobile. On mobile ive turned the masonry off.

    Maybe because Ive added some styling (like box-shadow) to the articles?

    #621453
    Tom
    Lead Developer
    Lead Developer

    Does it still happen if you remove the box shadow?

    I just tried replicating it using GPP 1.7-beta.1 and can’t.

    Let me know ๐Ÿ™‚

    #622746
    Peter

    Hi Tom,

    removing box-shadow and other styling from article > .inside-article doesnt helt, still same problem. I also tried to put stuff like width: 90%, margin: -5px but no go.

    Best Regards,

    #623036
    Tom
    Lead Developer
    Lead Developer

    Can you try GPP 1.7-beta.2? I just want to make sure it hasn’t already been fixed: https://docs.generatepress.com/article/beta-testing/

    Let me know ๐Ÿ™‚

    #623051
    Peter

    Sure, but how do I opt in?

    #623064
    Tom
    Lead Developer
    Lead Developer

    Ah, you’ll need to update to GPP 1.6.2 first in order for that option to show up. You should see the update available in the Plugins area.

    Updating to 1.6.2 might fix it actually.

    #624011
    Peter

    Hi Tom,

    Fixed with 1.6.2, thanks!

    #624254
    Tom
    Lead Developer
    Lead Developer

    Awesome! ๐Ÿ™‚

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