Jump to content

[SOLVED] Problem grid home featured products !!


Recommended Posts

Hi, I'm a new Prestashop User and I'm really pleased. I'm creating an e-commerce for wine and food and practiced. Until I was satisfied with the potential Prestashop and its ease of use. : D

But now ' have a problem about homefeatured module.
The problem is that I can't create a decent grid, which is shorter than a line of articles, but does't cover all the other to the bottom. I made several changes and testing to global.css but nothing.
I also added a height to block_content contained in css, but doesn't go. I also tried to increase liHeight value contained in homefeatured.tpl but nothing.

I don't know what to do .... : (

The site in question is [url = http://www.gustirari.com]'>http://www.gustirari.com] http://www.gustirari.com [/ url] and if you enter you can immediately see the problem.

Also, how can I do to reduce the little distance that is between a photo and short description? I have to tweak the class product_desc? Because this gave me some problems ...

I await your answers :)

Thanks for everything :)
Niko

Link to comment
Share on other sites

You can edit the height of the description in the featured products module on line 1006 of css/global.css in your theme's directory (in PrestaShop v1.3.1):

#center_column div.products_block p.product_desc {
   height: 9em;
   color: #595a5e
}



Reduce the height from 9em to smaller numbers until you are happy with how it looks. You'll then need to edit modules/homefeatured/homefeatured.tpl and play around with the liHeight until the border at the bottom of the ul lines up with the bottom of the li on the last row.

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