xohubigimu xohubigimu - 1 year ago 65
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.


Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download