WordPress.org

Forums

twentytwelve theme keep sidebar at the top on mobile devices (5 posts)

  1. Mark Shirley
    Member
    Posted 1 year ago #

    wordpress twentytwelve theme - does anyone have any code to keep the sidebar content at the top of the page instead of 'folding' down to the bottom of the screen on mobile phones or devices.

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Are you using a child theme?

  3. Mark Shirley
    Member
    Posted 1 year ago #

    yes esmi I'm using a child theme - the reason I need the sidebar content to stay at the top of the screen is I have a taxonomy-picker plugin in the sidebar.

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    You could try positioning the sidebar absolutely with a zoom value higher than the page content area so that the latter slides under it.

  5. Mark Shirley
    Member
    Posted 1 year ago #

    Thanks esmi

Topic Closed

This topic has been closed to new replies.

About this Topic