xohubigimu xohubigimu - 20 days ago 6x
CSS Question

Bootstrap - responsive mobile view display first the sidebar

I currently have the following website: REDACTED

I want to show the sidebar first, and only after the content in mobile view. What change I need to do in my html code? I am using bootstrap as site framework.



Change order using Bootstrap push and pull classes. In your case, it will be:

<aside class="col-md-3 col-md-push-9">...</aside>
<div class="col-md-9 col-md-pull-3">...</div>

More info here: enter link description here