I am currently developing a website using Zurb Foundation and I want to ensure that it is fully optimized for both mobile phones and laptop screens. What sets my app apart is the fact that I am aiming for a more sophisticated approach rather than just relying on responsive design techniques. To achieve this, I am heavily leveraging the show-for-small-only
and show-for-medium-up
classes within the framework.
In the mobile view of my site, I have implemented the use of Offcanvas navigation. While the HTML structure works seamlessly when placing the content within the off-canvas-wrap div, my specific requirements mean that I cannot follow this standard setup. Instead, I need the content to be positioned outside of the off-canvas-wrap div, leading to two key challenges:
- The menu does not expand to fit the size of the window.
- If I adjust the right-off-canvas-menu to match the window's height, it causes the content to shift downward.
To illustrate these issues, I have created a JSFiddle demonstration. Is there a solution that would allow the offcanvas menu to smoothly overlay the existing elements without affecting their positioning? My primary objective is to keep the content in its current layout while ensuring that the menu can display at full width as needed.
Appreciate any insights or suggestions. Thank you!