Support » Theme: Twenty Fourteen » Fixed position on sidebar

  • Resolved gspiliog

    (@gspiliog)


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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Andrew Nevins

    (@anevins)

    Front-end developer

    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

    gspiliog

    (@gspiliog)

    it worked. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fixed position on sidebar’ is closed to new replies.