Jump to content

Dynamically Adjust Food Menu

Go to solution Solved by tuanphan,

Recommended Posts

When adding a 'Menu' block to my page the website does not dynamically adjust the height based off the content. I have a few different categories and the page height remains the height of the longest menu category when on a different menu. The site is https://www.pedrosmacon.com/menu, if you look at the second category, 'Appetizers' the page is the same height as the first Menu item, 'Lunch'. Thanks in advance!

Link to comment
On 11/10/2023 at 12:01 AM, tuanphan said:

Hi,

You can add new section >> Choose Classic >> Then add Menu Block again

image.thumb.png.4cbbed66adfbce27072e046d36702b91.png

It works with the classic editor but not the fluid engine? Do you know if that is by design or a matter of oversight? Regardless, that works! I appreciate it!

Link to comment
Quote

It works with the classic editor but not the fluid engine? Do you know if that is by design or a matter of oversight?

The issue is the fundamental difference between how CE and FE handle layout.

CE is essentially elastic, the height of sections adapt to the height of the content. FE is based on CSS Grid which fixes the height to the tallest element in the section, at least the way SS is using it in FE.

This is a gross oversimplification of how these engines work.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
On 11/14/2023 at 1:32 AM, creedon said:

The issue is the fundamental difference between how CE and FE handle layout.

CE is essentially elastic, the height of sections adapt to the height of the content. FE is based on CSS Grid which fixes the height to the tallest element in the section, at least the way SS is using it in FE.

This is a gross oversimplification of how these engines work.

Oh that makes sense, thanks for the insight!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.