Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
786 views
in Themes by
edited
I am modifying the Snow Theme and I want to change the order of "qa-sidepanel" and "qa-main". For example if you look at the HTML code, qa-sidepanel is before qa-main class. is it possible to modify the qa-theme.php of snow so the qa-sidepanel class is after the main ?

1 Answer

+2 votes
by

have a look at this function body_content() in qa-theme-base.php . You can change the side_panel() and main() function calls in the below way  . 


public function body_content()
{
   $this->body_prefix();
   $this->notices();

   $this->output('<div class="qa-body-wrapper">', '');

   $this->widgets('full', 'top');
   $this->header();
   $this->widgets('full', 'high');
   $this->main();
   $this->sidepanel();
   $this->widgets('full', 'low');
   $this->footer();
   $this->widgets('full', 'bottom');

   $this->output('</div> <!-- END body-wrapper -->');

   $this->body_suffix();
}
...