Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #12069

    Hi there, does anybody know how to get the sidebar content to appear, before the page content when the screensize is reduced to mobile format (<400px) ?

    Which template / file can be modified, so the html for the sidebar is generated before the main page content?

    Thank you very much,



    Hi Dennes,

    You would need to do re-arrange the get_sidebar call in each of the various page type templates in the main php files. Index,page,search,single.php etc.

    The dynamic templates would still take priority and will display however they are configured (ignoring the changes in the template files).

    I don’t know if this would work however as the css layout is designed around calling the sidebars after the content. It may take some significant css fixes after the fact.



Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Sidebar content above page content in mobile size format’ is closed to new replies.