Move Sidebar from Above Content To Below When checking on mobile/tablet view


My theme automatically puts the sidebar above the content rather than below it when going with tablet/mobile.

I want to show the content of the page to view first on mobile/tablet view rather than sidebar.

In desktop view, all things are showing as expected so i do not want to change anything on desktop view. In Desktop view, content of the page is in left container and sidebar is in right container.

Is there any CSS code I can add which will force a rearrange so the content is shown above the sidebar when it goes mobile/tablet view?

in progress 0
Mohammad Shariq 1 year 2021-08-04T09:47:14-05:00 0 Answer 0 views 0

Answer ( 1 )


    All themes are coded a bit differently, so there’s no surefire way to make sure a sidebar appears in a certain place without looking at the specific theme’s CSS. Since that is out of scope on this site, your best bet is to contact the theme author and ask them. If you don’t get a response, you could try inspecting the sidebar with developer tools and posting some of the relevant HTML and CSS over on StackOverflow for possible help.

Leave an answer