Eros eros Posted April 3 Share Posted April 3 Hi guys, on the category pages I see 3 products for each row, on mobile (both tablet and mobile phone) I would like to display 2. how can I do it? Using PS 1.7.8.11 with classic theme Link to comment Share on other sites More sharing options...
Eros eros Posted April 11 Author Share Posted April 11 (edited) Any solution? Edited April 11 by Eros eros (see edit history) Link to comment Share on other sites More sharing options...
Ray UK Posted April 17 Share Posted April 17 (edited) Create a file in your theme directory /yourthemename/templates/catalog/listing/product-list.tpl (If it doesnt already exist) and enter the following in that file. {extends file='parent:catalog/listing/product-list.tpl'} {block name='product_list'} {include file='catalog/_partials/products.tpl' listing=$listing productClass="col-xs-6 col-lg-4"} {/block} You may need to adjust some css to suit afterwards. If for some reason you are sticking to using just the classic theme then adjust this line only in the file classic/templates/catalog/listing/product-list.tpl {include file='catalog/_partials/products.tpl' listing=$listing productClass="col-xs-6 col-lg-4"} Edited April 18 by MerseyRay (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now