Adjustable/variable page height?

I am creating the store section of my website. I need to be able to sort the +100 products by filters, so I’ve programmed a custom code to filter them by attributes.

I have thought about the option to simulate the filter with different pages that show the corresponding products, but I need to filter by price, by type of product, by brand… I don’t see that as a viable option for so many products.

The problem I have with my custom code is that it has a height of 5200 when displaying all products, to this is added the header and footer of my website. But if I apply filters and the selection stays in 10 or 5 products, as the web has a fixed height, it remains blank, you see the empty background 4000 height until you reach the footer.

Is there any way to make the height variable or adaptable so that my code works and adapts to the height?

1 Like

i’m having a similar problem. adding a tour dates widget that will change in height depending on how many dates are added. i want to automatically scale the page size depending on how long that content is…. but can’t find a solution in readymag. i’m surprised readymag doesnt support this