Hi - If you scroll down to the grid on this website http://sunhouse-creative.com, you can see that as you change the browser size the icons move themselves to fit the screen. My client wants me to replicate this in their grid, does anyone know how to do it? You can see from my link that I am experimenting with images and background images in trying to achive this. The client also wants the full image to show all of the time. Any help apprecaited.
Try to put them on appropriate elements, start with transition “All”, and if it works try to locate what exactly transitions. because it’s not good at all to let Transitions to “All”, performance wise.
Thank you @vincent forgive me but could you provide me with a little more detail as I really can’t work out how to replicate this, apologies for being dumb, I’d blame it on Friday but…
Hi @Roxzfr, I think what you are looking to achieve, is called a masonry layout. The masonry effect is not natively built in to Webflow yet, but there are some solutions.
Hi @cyberdave this doesn’t seem to work, what I need to replicate is the images re-sizing themselves and moving to fit the browser window size. @vincent, you say it can be achieved through transitions - but how? Ihave until tomorrow to nail this so I would appreciate your help.
Publish the site and then preview. Here was my result, is this sort of what you are looking for? In the example, you can put any content you want in the item divs.
Thanks @cyberdave that’s exactly what I need. I replicated it and had it working perfectly - I was so impressed! but now suddenly instead of moving the items around it just makes them smaller?
Would you mind taking a look at whatever stupid school girl error I have made please?
Hi @Revolution, this example is only for images of same dimensions (in my example), there are different parameters that can be used in masonry and a bunch of different examples to show how elements can be arranged with different dimensions.
My example was the basic masonry effect that is setting columnWidth left out of the script, setting column width to item width.
This could also be used with images of different sizes, just set the width and height of the item class to auto, although some additional masonry settings might be needed.
Thank you @cyberdave, it was very considerate to make a video and very helpful. I have made the changes; however it still resizes the images rather than reordering them?
with regards to the 25%, the client wants 3 across, so at some stage I’ll probably need to resize the images.
I never thought a simple grid could be so complex! I appreciate all your efforts and if you can work out why it isn’t re-ordering it would be most appreciated.
Hi there @Roxzfr Change the widths of the item elements on each viewport, to control how many items per row show, at each viewport. When published, the site will resize accordingly.
Thank you @cyberdave - yes it does. You did say this last time only I didn’t realise it was essential for the effect, so apologies for making you repeat yourself.
The only issue now is that my client wants a grid of 3 (not a problem) but the images are aligning in to the left so there is a huge amount of white space on the right. Its even worse on their huge Apple screens. It has to work exactly like their inspirational site http://sunhouse-creative.com/ including how the slider re-sizes.
I thought working with a graphic designer would make things easier - won’t make that mistake again