Jump to content

[SOLVED] change featured products from four column to three column


gbola

Recommended Posts

Hello,

 

Please how can i change the featured products column from 4 columns to 3 columns.

 

I mean the default featured products module that is installed with prestashop 1.5.6.1

 

I want featured products displayed in 3 columns as in the attached image instead of the regular 4 columns.post-716123-0-31407000-1386371749_thumb.gif

 

Link to comment
Share on other sites

go to homefeatured.tpl file and change this: {assign var='nbItemsPerLine' value=4} change value param to 3

 

then go to homefeatured.css and increase width of <li> element:

#featured-products_block_center li {
	margin-right:10px;
	padding:10px 0;
	width:126px;
	height:240px
}

increase width param to 146px;

  • Like 1
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...