Sticky sidebar

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Sridhar Katakam 1 year, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #66244

    NielsGouman
    Participant

    Yesterday I’ve upgraded from my Eleven40 theme, to the new Eleven40 Pro theme. And I noticed that the header/navigation bar thingy is sticky now. Which is awesome.

    So it got me thinking: Maybe I can make the sidebars sticky too? Like on Lifehack.org

    Then I got a friend of mine (who understands some CSS) to Google around for a bit. And we managed to make the sidebar of my site sticky, yay!

    Problem was that Widgets seemed to overlap eachother, and the sidebars basicly sticked over everything (like the footer).

    The code that I used was like this:

    .sidebar.sidebar-primary.widget-area .widget-wrap {
    width: 250px;
    position: fixed;
    }

    What do I need to do to make it work more like on Lifehack.org?

    http://StrategischLui.nl
    #67601

    Sridhar Katakam
    Participant
    Post count: 1071
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.