Home › Forums › Support › Sidebar Stack on on top of Content This topic has 6 replies, 3 voices, and was last updated 7 years, 3 months ago by Leo. Viewing 7 posts - 1 through 7 (of 7 total) Author Posts January 16, 2017 at 8:36 am #264581 Mark Hi Tom, Still rocking the GP theme! Quick question, is it possible to stack the sidebar on top of the content. I know it is possible but wouldn’t know how. Can you help? Cheers. January 16, 2017 at 9:08 am #264596 LeoStaff Customer Support Hi Mark, Are you wanting your sidebar to be between header/navigation and the content? for both all devices? Checkout generate_after_header and generate_inside_container hooks. http://demo.generatepress.com/hook-locations/ January 16, 2017 at 9:33 am #264603 Mark Hi Leo, On a mobile device instead of the sidebar been below the content box I need it on top. Thanks January 16, 2017 at 9:45 am #264607 LeoStaff Customer Support Give this CSS a shot: @media (max-width: 768px) { .site-content { display: table; } .site-main { display: table-footer-group; float: none; } .sidebar { display: table-header-group; float: none; } } Adding CSS: https://docs.generatepress.com/article/adding-css/ January 16, 2017 at 10:24 am #264627 TomLead Developer Lead Developer You can also use the Flexbox method (will accomplish the same thing): https://generatepress.com/forums/topic/change-order-on-mobile/#post-157121 January 17, 2017 at 1:17 am #264852 Mark Thanks guys, Tom’s seems to work a little better than yours Leo. The padding or something seems to be off in yours. But again thanks for your help! January 17, 2017 at 7:39 am #264994 LeoStaff Customer Support Glad we can help and thanks for the feedback 🙂 Author Posts Viewing 7 posts - 1 through 7 (of 7 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In