Horizontal Masonry Grid Layout like the Pros (Unsplash and Pinterest)

Поділитися
Вставка
  • Опубліковано 10 січ 2025

КОМЕНТАРІ • 26

  • @heatherliu6856
    @heatherliu6856 Рік тому +4

    Love the new video editing style!!

  • @ozordiprince9405
    @ozordiprince9405 Рік тому +3

    The fact i was actually looking for a video like this cus of my new project. W web bae

    • @webbae
      @webbae  Рік тому

      If you need to add filtering be sure to have a look at my Patreon - I go over this advanced use case on how to use the CMS Filter API there.

    • @webbae
      @webbae  Рік тому

      glad it helped!

  • @aidansinclair3377
    @aidansinclair3377 Рік тому +1

    Excellent.
    It's amazing what I pick up and learn over and above the main topic you are addressing.
    This is attributable to your excellent narration and video editing. It requires a couple of runs to capture all the nuggets on offer, but the payoff is so worth the time investment.
    Many thanks for this.

    • @webbae
      @webbae  Рік тому

      Much appreciated!

  • @kkhan1167
    @kkhan1167 Рік тому

    Exactly what I was searching for

    • @webbae
      @webbae  Рік тому

      Glad it helped!

  • @prihea
    @prihea Рік тому +1

    Very cool, thanks!

    • @webbae
      @webbae  Рік тому +1

      Glad you liked it!

  • @iwanrutjes
    @iwanrutjes Рік тому +2

    Men took me several videos to get to this solution. Great stuff! Question; is there a way to offset the first grid item? I'm using webflow's native 'First item' with a position slightly higher, but i can't seem to find a way to let this work with the script. Any suggestions?

    • @webbae
      @webbae  Рік тому +2

      You should probably use Javascript instead of CSS becuase MacyJS will likely overwrite the CSS with inline styles.
      Once the MacyJS instance is finished, you can use Javascript to adjust the top or margin-top properties to something like -2rem.
      I have a more advanced tutorial on integrating MAcyJS with filtering that has similar concepts on my Patreon: github.com/bigbite/macy.js
      Otherwise ChatGPT can probably help you out too!

  • @AdamTarasewicz
    @AdamTarasewicz 9 місяців тому +1

    hey Web Bae, loved the tutorial and it was great to see how easily we can create the masonry layout! have you had any instances where the layout would not display on mobile? it currently happens to my website and I cannot quite figure out why it would be the case.. let me know if you've got any thoughts, it would be much appreciated!

    • @webbae
      @webbae  9 місяців тому

      hey Adam if you can share a link in Discord I'll have a look.

  • @merkmotief
    @merkmotief Рік тому +1

    Hi Web Bae, did you try to combine this with Finsweet CMS filter? Without it works great. With CMS filter, the filtering works, but the re-arrangement of the result not. Maybe you have a solution?

    • @webbae
      @webbae  Рік тому +1

      Hey 👋- I did a video on excactly how to do this in my Patreon. You have to destroy and recreate the instance.
      www.patreon.com/posts/88560236?

  • @sszollar
    @sszollar 8 місяців тому +1

    Thanks for creating this! I copied your webflow clone to show product reviews and I'm having this issue - if I have just one section (div with review elements (images, review text, etc.) pulling from CMS) with masonry applied, then the format is messed up - it doesn't show the images and shows all of the text elements overlapping in a narrow off-center column. I rebuilt the page twice, stripped out every other piece of code and every other section, and I still have this problem. The only (bad) solution I've come up with is to hide the first messed up copy, and then the one below it, which is an exact copy, works. Any ideas what might be happening?

    • @webbae
      @webbae  8 місяців тому

      hi - it's hard for me to tell from the description. Can you share a live link in Discord?
      discord.gg/chjpACpU

  • @wfwfwfwfwfwf
    @wfwfwfwfwfwf 8 місяців тому +1

    Hi, I'm looking for a horizontal masonry grid solution, but one where I can also give an image a two or three column width. Would this be possible or any advice on how to accomplish this? Preferably with a Collection List, but I've seen a few videos where it's accomplished with a Quick Stack, so also considering this, and then creating custom sizes for each item. Cheers for the great tutorial.

    • @webbae
      @webbae  8 місяців тому +1

      this is tricky. not sure how I would go about it honestly! :(

    • @wfwfwfwfwfwf
      @wfwfwfwfwfwf 8 місяців тому

      @@webbae Ok, well thanks for responding. I'll probably go for a static grid then by using Quick Stack, see how far I'll come. Cheers!

  • @danieltran1511
    @danieltran1511 7 місяців тому +1

    Where do you edit the index.js?

    • @webbae
      @webbae  7 місяців тому

      I'm using code sandbox in this tutorial.
      I usually use VS Code these days. Check out this video: ua-cam.com/video/1Wpb9TqX_CQ/v-deo.htmlsi=AhDNIYHIrum6FnFB

  • @kinkane777
    @kinkane777 Місяць тому +1

    this doesnt work if you have masonry inside of webflow tab :(

    • @webbae
      @webbae  Місяць тому

      Webflow has its own JS to control tabs component so you might need to work around that.

    • @kinkane777
      @kinkane777 Місяць тому

      @@webbae yea took me hours to figure out it was tabs causing the problem and not library itself... maybe the best way is to use some other library for tabs xD