WordPress.org

Forums

Twenty Fourteen
[resolved] Fixed position on sidebar (3 posts)

  1. gspiliog
    Member
    Posted 1 year ago #

    Can i have sidebar position fixed and how to do it?

  2. Andrew
    Forum moderator & snail smusher
    Posted 1 year ago #

    Did you try using fixed position in CSS?

    #secondary {
        position: fixed;
        left: 0;
        top: 0;
        margin: 0;
    }

    You probably want to do that in a media query just for desktop

  3. gspiliog
    Member
    Posted 1 year ago #

    it worked. Thanks

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.