Jump to content
thirty bees forum
  • 0

How to get two columns on most smartphones? Is there a viewer that inspects or shows code?


veganline

Question

 

  • Does anyone know the first steps towards writing a template and style sheet that show two columns on most smartphones?
  • Does anyone know how to reverse-engineer the current Niara offering on smartphones, and see where each bit comes from? In Chrome, I can view the source or inspect for style sheet code on larger-sized screens, but neither works on smartphone-sized screens. I've found that Opera browser inspects at narrow screen sizes
Edited by veganline
Removed waffle; found part answer
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

You can use chrome to emulate small screen sizes once you open the inspect window. 

But where you want to start looking is the product list and understand how that version of bootstrap works. The line you are looking for is here, https://github.com/thirtybees/niara/blob/master/product-list.tpl#L5  if you change the col-xs-12 to col-xs6 it will display as two columns on small screen category pages and searches. 

  • Like 1
Link to comment
Share on other sites

  • 0
2 hours ago, lesley said:

You can use chrome to emulate small screen sizes once you open the inspect window. 

But where you want to start looking is the product list and understand how that version of bootstrap works. The line you are looking for is here, https://github.com/thirtybees/niara/blob/master/product-list.tpl#L5  if you change the col-xs-12 to col-xs6 it will display as two columns on small screen category pages and searches. 

col-xs-6

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...