WeCodePixels / theia-sticky-sidebar

Glues your website's sidebars, making them permanently visible while scrolling.
MIT License
569 stars 209 forks source link

Breaking on Short Content Column #5

Closed ehoch closed 9 years ago

ehoch commented 9 years ago

So first off, love this plugin. Thank you! I'm using it on my site, TV Fanatic. We have a 2 column layout. Content and Sidebar. Our content is set up like:

.row-fluid
  #content_wrapper
    #content
      .theiaStickySidebar
  #sidebar
    .theiaStickySidebar

With CSS:

#content_wrapper {
  margin-right: -300px;
  float:left;
  width:100%;
}
#content {
  margin-right: 320px;
}
#sidebar {
  width : 300px;
  float : left;
}

I do this so I can put my content at the top of the HTML source with the sidebar on the right without using float : right. For SEO purposes.

It seems to be working in most cases with your sticky sidebar, unless our content is super short like on this page:

http://www.tvfanatic.com/forum/gossip-girl/

Scroll to the bottom and you'll see an explosion of the left hand content into the right.

liviucmg commented 9 years ago

Can you try the latest version from the master branch and see if the issue persists? It might be the same as #3. Thanks!

ehoch commented 9 years ago

Issue is gone now.