Jump to content

Small images - Home page - <!-- Products list -->


Recommended Posts

Hello

 

I want my images smaller on the home page.

I tried to change the images size, but the DIV "product-image-container" remains on the same size.

I would like to see more columns. 

 

Thanks

 

Hello,

 

File theme - product-list.tpl 

 

Change: nbItemsPerLine

	{*define number of products per line in other page for desktop*}
	{if $page_name !='index' && $page_name !='product'}
		{assign var='nbItemsPerLine' value=3}
		{assign var='nbItemsPerLineTablet' value=2}
		{assign var='nbItemsPerLineMobile' value=3}
	{else}
		{assign var='nbItemsPerLine' value=4}
		{assign var='nbItemsPerLineTablet' value=3}
		{assign var='nbItemsPerLineMobile' value=2}
	{/if}
  • Like 1
Link to comment
Share on other sites

Hello

 

I think i have a resolution:

 

On the file product-list.tpl of my theme.

 

I change (line 49):

 

<li class="ajax_block_product{if $page_name == 'index' || $page_name == 'product'} col-xs-12 col-sm-4 col-md-3{else} ...

 

to

 

<li class="ajax_block_product{if $page_name == 'index' || $page_name == 'product'} col-xs-12 col-sm-4 col-md-5{else}

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...