Before we go any further, take a moment to explore the demo here: http://tympanus.net/codrops/2013/04/17/slide-and-push-menus/
I decided to work with the source code from the demo by creating new files for Javascript, CSS, and HTML.
To simplify things, I focused on keeping only the push responsive menus within the
<body class="cbp-spmenu-push"><nav class="cbp-spmenu cbp-spmenu-vertical cbp-spmenu-left" id="cbp-spmenu-s1">
tags.
I made adjustments to the size and positioning of the push responsive menus referenced in the showRightPush
and showLeftPush
tags. Additionally, I eliminated the section
tags associated with them so they could move along with the main
tag.
Furthermore, I removed the horizontal and vertical menu sections found within the <div class="main">
tag.
In the CSS file, I fine-tuned the properties of the main
and container
tags (margin, padding, width, and height) to ensure that the menus were properly separated and repositioned to the top left and top right corners.
After completing these modifications, I loaded the HTML file and attempted to interact with the push responsive menus. Unfortunately, they failed to open or function as intended.
If you'd like to review my JSFiddle demonstration, please click this link: http://jsfiddle.net/ndL2nat1/
Is there a solution to resolve this issue?