Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Vrund Patel
11,994 PointsZurb Foundations
Trying to do the off canvas menu list but the list keeps contained in the top bar, I want it to display full when clicked on the left side.
<body>
<div class="off-canvas-wrap" data-offcanvas>
<div class="inner-wrap">
<nav class="tab-bar">
<section class="left-small">
<a class="left-off-canvas-toggle menu-icon" ><span></span></a>
</section>
<section class="middle tab-bar-section">
<h1 class="title">Java Corner</h1>
</section>
</nav>
<aside class="left-off-canvas-menu">
<ul class="off-canvas-list">
<li><a href="#">Syntax</a></li>
<li><a href="#">Datatypes</a></li>
<li><a href="#">Variables</a></li>
<li><a href="#">Objects and Classes</a></li>
<li><a href="#">Operators</a></li>
<li><a href="#">Loops</a></li>
<li><a href="#">Arrays</a></li>
<li><a href="#">Methods</a></li>
<li><a href="#">Conditionals</a></li>
<li><a href="#">Numbers</a></li>
<li><a href="#">Strings</a></li>
<li><a href="#">Files and I/O</a></li>
<li><a href="#">Exceptions</a></li>
<li><a href="#">Polymorphism</a></li>
<li><a href="#">Interfaces</a></li>
</ul>
</aside>
<section class="main-section">
</section>
<a class="exit-off-canvas"></a>
</div>
</div>
</body>
1 Answer
Iain Simmons
Treehouse Moderator 32,305 PointsIt's hard to tell without actually seeing it in action (have you tried the new 'Snapshots' feature of Workspaces?), but perhaps just try putting some content in the .main-section section?
Vrund Patel
11,994 PointsVrund Patel
11,994 PointsYeah, adding content to the main section seemed to work.