You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A common issue we have with maglev(and all web development) is how to deal with the header, main, and footer. Especially given the requirement to have the footer be on the bottom of the screen if there isn't enough content. Currently the hack is to include a </main> in the footer blocks and a <main class="flex-grow"> in the header blocks. This means you must pick one header and one footer.
The default maglev has the data-maglev-dropzone in the main tag so we change that to a div. It would be ideal if we could ether set a specific drop zone for headers and footers outside main. Or the ability to create a brick that you can drop other bricks into it.
Of course if there is already a better solution, I would absolutely love to hear it.
That does sound like what I am looking for. My next site will be merging Spree to a Maglev CMS which will be fun, I look forward to trying out any new features you add.
A common issue we have with maglev(and all web development) is how to deal with the header, main, and footer. Especially given the requirement to have the footer be on the bottom of the screen if there isn't enough content. Currently the hack is to include a
</main>
in the footer blocks and a<main class="flex-grow">
in the header blocks. This means you must pick one header and one footer.The default maglev has the
data-maglev-dropzone
in the main tag so we change that to a div. It would be ideal if we could ether set a specific drop zone for headers and footers outside main. Or the ability to create a brick that you can drop other bricks into it.Of course if there is already a better solution, I would absolutely love to hear it.
For reference our base layout resembles below:
Current workaround:
Edit:
After a little digging it looks like this is most of the way there:
Though this could be improved if sections where taggable in some way or in some other way identifiable, for instance:
The text was updated successfully, but these errors were encountered: