Jump to content

Title longer in featured products


Recommended Posts

  • 2 weeks later...

Hi

here's the solution

Step 1 : in your global.css file change the height value in below line
set it to 50px if title is 50 char long or 35px if 32 char long

#center_column div.products_block h5 {

display: block;

height: 2.57em;

}


and thereafter change the height of product block with css selector shown below ( find in global.css )


#center_column .products_block ul li


this is the height of a single product item on homepage including overlapping pixels ( if height is fixed, if fluid then no problem)

do the above and we will see how it goes. also mention your site uri so that we can have a look at it and suggest parameters

Note: before you proceed take backup of global.css file
Link to comment
Share on other sites

  • 1 year later...
Hi

here's the solution

Step 1 : in your global.css file change the height value in below line
set it to 50px if title is 50 char long or 35px if 32 char long

#center_column div.products_block h5 {

display: block;

height: 2.57em;

}


and thereafter change the height of product block with css selector shown below ( find in global.css )


#center_column .products_block ul li


this is the height of a single product item on homepage including overlapping pixels ( if height is fixed, if fluid then no problem)

do the above and we will see how it goes. also mention your site uri so that we can have a look at it and suggest parameters

Note: before you proceed take backup of global.css file


I see that you posted a solution and no one even took the opportunity to THANK YOU. I would like to take this opportunity to THANK YOU as your post solved the problem I was facing. I was searching for hours and hours and at last ended up paying some1 to get my work done. Then finally I found this post and it solved the issue in 5 mins.

Thanks once again.

Prestashop should keep a special button for THANKING people who post good answers.
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...