Jump to content

Two products per row at Home page


jupeto

Recommended Posts

Hi,

I need some help.

The default is 4 products per raw at home page 250 x 250 pixels. I would like to change it for 2 products per raw but larger 500 x 500 pixels.

 

I changed product-list.tpl file and it works, there are 2 products per raw now but the picture container is not resizing so both pictures take only the half of the available space.

 

I have changed also in global.js md-6 in order to get 2 product per raw and vew correctly the product list

 

function display(view)
{
if (view == 'list')
{
$('ul.product_list').removeClass('grid').addClass('list row');
$('.product_list > li').removeClass('col-xs-12 col-sm-6 col-md-6').addClass('col-xs-12');
 
Also I tried to change product-list.css and I don't seem to find the solution, nothing happens. 
 
This is the web (default prestashop theme)
 
 
Any help will be highly appreciated
Thank you
 
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...