Answer the question
In order to leave comments, you need to log in
Bootstrap - How to reduce the number of columns to two?
Hello.
I bought an html-template of a store site on the Internet, it uses bootstrap. When viewed on a monitor on the site, the products are arranged in 4 columns, but when viewed in telephone mode, 4 columns turn into one. Question: how can I achieve that both when viewed through a monitor and when viewed through phones / tablets, etc. products were always displayed in only two columns?
Answer the question
In order to leave comments, you need to log in
bootstrap uses a grid of 12 columns, respectively, the size of the columns at a particular resolution is regulated through the classes col-(lg|md|sm|xs|)-*
if you set classes for the column
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6"> ..... </div>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question