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

CSS

using foundations off-canvas nav and compass sticky footer

l am struggling a bit getting the compass sticky-footer to work well with my foundation off-canvas nav. l got the following code in my html

<!doctype html>
<html class="no-js" lang="en">
  <head></head>
  <body>
      <div class="off-canvas-wrap" data-offcanvas>
      <div class="inner-wrap">

    <div id="root">

        <header class="row">
        <nav class="tab-bar hide-for-large-up">
        </nav>
        </header>

    <article>
      <!-- Main content goes here -->
    </article>
    <div id="root_footer"></div>
  </div>
    <footer></footer>
    </div><!-- end inner wrap, must go after ALL content -->
    </div><!-- end offcanvas -->
  </body>
</html>

and in my sass file l have the following code

@include sticky-footer(54px);
@include sticky-footer(54px, "#root", "#root_footer", "footer");

but this seem to work as l expected it to. any ideas what l am doing wrong? Guil Hernandez

Can you maybe take and share a screenshot so we can see what the problem is?

Or try and elaborate further on why it isn't working well?