Support » Themes and Templates » twentytwelve theme keep sidebar at the top on mobile devices
2 years, 10 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.
Are you using a child theme?
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.
You could try positioning the sidebar absolutely with a zoom value higher than the page content area so that the latter slides under it.