Jump to content

3 columm layout at home.featured - problem [solved]


fortis

Recommended Posts

Hi, I'm new at prestashop, so have a little patience with me :)

 

I've created a new prestashop on my site. You could find it on http://www.adell.us/shop/index.php

i've already made a few template modifications, such as bigger product images at home.featured page which is generated randomly.

 

And there's my first question: I want to have a 3 columm layout on this page, also on product page, but there's only 2 columm. I've tried change a value at homefeatured.tpl but it doesn't help at all.

I think it has something with css styles and 3 columms won't fit in center frame. Am I right?

 

How can I make it right? Thanks a million.

 

/edit: Just realised, i probably put this topic into wrong discussion. If I do, please put it into right one. Thx

Edited by fortis (see edit history)
Link to comment
Share on other sites

you need to decrease width of the <li> elements:
now you've got width:250px; change it to width:222px;

#featured-products_block_center li {
margin-right: 10px;
padding: 10px;
width: 222px;
height: 350px;
}

it will be necessary to change width of the pictures to, so add width:222px; to:

.products_block li img {
border: 1px solid #d1d1d1;
width:220px;
}

effect:

yFIGqDG.png

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