napalmjs Posted May 15, 2023 Posted May 15, 2023 (edited) I am using a custom code block to create a filterable gallery of a bunch of images. By default, it displays all +20 images, but when I click one of the categories to filter the images (e.g., by kitchen, by living room, etc.) it cuts down to just a handful, the section height looks to remain the same. This creates a ton of white space in the middle of the site. How might I get this section to respond to the height of the content being presented based on the filtered view? Here's a before click: Here's after I've been using openai to help write the code, but I'm stuck on this. Any ideas? Edited May 15, 2023 by napalmjs uploaded incorrect image
tuanphan Posted May 19, 2023 Posted May 19, 2023 Hi, Can you share link to this page? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment