Sidebar Before Content On Smaller Screens

By default, Genesis and most WordPress themes display the sidebar below the content when you reduce the screen size.

What the code in this tutorial provides is a solution to display your main sidebar above the content when your screen is reduced to a specific width.

If you want to move your sidebar above the content on mobiles, watch the video to see how it works.

Here’s the demo video:

You can also use the 2nd & 3rd solutions to display your sidebar in any position on the page when the screen size reduces.

The 3rd solution also enables you to control the order of different elements at any screen width.

Here’s the code for 3 different solutions for logged in members:

Related Solutions


Comments

3 responses to “Sidebar Before Content On Smaller Screens”

  1. Joe Wiseman Avatar
    Joe Wiseman

    The page is located at https://loveworks.com

    Is it possible to contact me by email? I submitted my email with the account data.

    Thank you

  2. Joe Wiseman Avatar
    Joe Wiseman

    HI,
    I use LeeWay Pro by ThemeZee.

    Because of the use of a sidebar menu, I want the sidebar to load before the content section.

    I have tried all of the code on this page but was not successful.

    Do you write custom code for themes other than Genesis or themes that you have not worked with before?

    Thank you
    Joe

    1. Hi Joe. Please link to the live page in question.

Leave a Reply

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.