wordpress - How make side bar appear first in moble? -


how can make sidebar appear fist before content in twenty eleven theme.

now if resize browser sidebar goes end, need add sidebar go first in mobile.

locate <?php get_sidebar(); ?> in template file, , move top. so, example, when @ index.php, this:

<?php /**  * main template file.  *  * generic template file in wordpress theme  * , 1 of 2 required files theme (the other being style.css).  * used display page when nothing more specific matches query.  * e.g., puts home page when no home.php file exists.  * learn more: http://codex.wordpress.org/template_hierarchy  *  * @package wordpress  * @subpackage twenty_eleven  */  get_header(); ?> <?php get_sidebar(); ?>      <div id="primary">         <div id="content" role="main"> 

Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -