WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Mark Shirley
    Member
    Posted 3 months 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 3 months ago #

    Are you using a child theme?

  3. Mark Shirley
    Member
    Posted 3 months 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 3 months 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 3 months ago #

    Thanks esmi

Reply

You must log in to post.

About this Topic