henryyao Posted December 16, 2014 Share Posted December 16, 2014 Hi, I want to show more products on the screen in a more compact way, especially on mobile, I know there are a lot of themes, but I can't find any to support two columns view on mobile. Is that something I can achieve with theme? If so, where should I start from? Thanks, Henry Link to comment Share on other sites More sharing options...
JoelWebsites Posted January 16, 2015 Share Posted January 16, 2015 I was looking out for the same thing ...have you found the solution? Link to comment Share on other sites More sharing options...
henryyao Posted January 24, 2015 Author Share Posted January 24, 2015 it's actually pretty easy with @media Link to comment Share on other sites More sharing options...
jbhamers Posted September 14, 2015 Share Posted September 14, 2015 it's actually pretty easy with @media hi henryyao, how you get 2 column product homepage on mobile view with @media i'm try to search about @media but still far to it.. thanks Link to comment Share on other sites More sharing options...
Hetko Posted September 15, 2015 Share Posted September 15, 2015 I would also like to know how this is working with @media or in any other way! Link to comment Share on other sites More sharing options...
anazmi Posted September 15, 2015 Share Posted September 15, 2015 I would also like to know how this is working with @media or in any other way! This is what I did and it worked for me. In your product-list.tpl file there should be a line like this: <li class="ajax_block_product{if $page_name == 'index' || $page_name == 'product'} col-xs-12 col-sm-4 col-md-3{else} col-xs-12 col-sm-6 col-md-3{/if} for me it was line 49. change the col-xs-12 to col-xs-6 instead and it should show up in two columns. 1 Link to comment Share on other sites More sharing options...
Hetko Posted September 15, 2015 Share Posted September 15, 2015 Awesome it is working! Thank you! Link to comment Share on other sites More sharing options...
sengok Posted August 4, 2017 Share Posted August 4, 2017 hello, how about presta 1,7 ? thats work or not ? for make 2 columns in mobile version. thank you Link to comment Share on other sites More sharing options...
mounir Posted February 20, 2018 Share Posted February 20, 2018 On 9/14/2015 at 6:07 PM, anazmi said: This is what I did and it worked for me. In your product-list.tpl file there should be a line like this: <li class="ajax_block_product{if $page_name == 'index' || $page_name == 'product'} col-xs-12 col-sm-4 col-md-3{else} col-xs-12 col-sm-6 col-md-3{/if} for me it was line 49. change the col-xs-12 to col-xs-6 instead and it should show up in two columns. please can you make a screen shot to know exactly where i find it because i'm not expert on prestashop thanks Link to comment Share on other sites More sharing options...
Julio Barbosa Posted June 22, 2021 Share Posted June 22, 2021 (edited) Em 14/09/2015 às 22:07, anazmi disse: Isso é o que eu fiz e funcionou para mim. No arquivo product-list.tpl deve haver uma linha como esta: <li class = "ajax_block_product {if $ page_name == 'index' || $ page_name == 'product'} col-xs-12 col-sm-4 col-md-3 {else} col-xs-12 col- sm-6 col-md-3 {/ if} para mim foi a linha 49. mude o col-xs-12 para col-xs-6 e ele deve aparecer em duas colunas. onde encontrou este arquivo pode falar o caminho certim? Edited June 22, 2021 by Julio Barbosa erro (see edit history) Link to comment Share on other sites More sharing options...
paulormf Posted January 27, 2022 Share Posted January 27, 2022 On 6/22/2021 at 10:48 AM, Julio Barbosa said: onde encontrou este arquivo pode falar o caminho certim? Pelo ftp: pasta /themes/default-bootstrap/ 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