myselfidem Posted April 22, 2014 Share Posted April 22, 2014 Hello, I need some help about products on the front page. I would like to have 3 products and not 4. . The products aren't displayed properly. You can see the image. Thanks. Link to comment Share on other sites More sharing options...
vekia Posted April 22, 2014 Share Posted April 22, 2014 can you share url to yout website? it will be much easier to give you solution i think that this will be enough: change ajax_block_product col-xs-12 col-sm-4 col-md-2 to ajax_block_product col-xs-12 col-sm-4 col-md-3 in product-list.tpl file but to be 100% sure please share url Link to comment Share on other sites More sharing options...
myselfidem Posted April 22, 2014 Author Share Posted April 22, 2014 (edited) Thanks vekia for your answer, I'm working on my computer (localhost) for testing using PS 1.6.0.6 However I can read inside my product-list.tpl from line 50 : cclass="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-4 And it's seems a part is missing, or maybe I'm wrong ? {if $smarty.foreach.products.iteration > ($smarty.foreach.products.total - $totModuloTablet)} last-tablet-line{/if} Thanks Edited April 22, 2014 by myselfidem (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted April 22, 2014 Share Posted April 22, 2014 try to change: col-xs-12 col-sm-6 col-md-4 to other like col-xs-12 col-sm-6 col-md-3 or even col-xs-12 col-sm-6 col-md-5 Link to comment Share on other sites More sharing options...
myselfidem Posted April 22, 2014 Author Share Posted April 22, 2014 Ok, thanks. It's done using the first part , changing first part: col-xs-12 col-sm-4 col-md-3 to col-xs-12 col-sm-4 col-md-4 Like this : class="ajax_block_product{if $page_name == 'index' || $page_name == 'product'} col-xs-12 col-sm-4 col-md-4 However I've always the unwanted space on the left, on the front page and I don't know why. Link to comment Share on other sites More sharing options...
vekia Posted April 22, 2014 Share Posted April 22, 2014 it's due to the differencies with product window height. in this case each window must have the same height. Link to comment Share on other sites More sharing options...
Recommended Posts