196 posts
  • 3 Years of Membership
  • Author Level 1
  • Collector Level 1
  • Exclusive Author
+1 more
ThemeBuddies
says

I am working on a design and things are going well. I got stuck with this small issue. Not sure what to do about it.

When I view my site in my phone, things look okay but there are a few things that I want to display inline instead of vertical when viewed on my phone. What is the best way to add these exceptions using bootstrap? Should I add my own media queries to style.css? Would it even over ride the bootstrap queries?

149 posts
  • Affiliate Level 1
  • Author Level 4
  • Beta Tester
  • Collector Level 2
+4 more
davidossahdez
says

You need to use the some specific class prefixes included in Bootstrap to target mobile devices. For example, if you want to keep two columns stacked horizontally, you should use the col-xs- class prefix

<div class="row">
    <div class="col-xs-6">Column 01 sample content</div>
    <div class="col-xs-6">Column 02 sample content</div>
</div>

For more information you can go to: http://getbootstrap.com/css/#grid-options

by
by
by
by
by
by