Jump to content

How to fix the extra space under the Featured Products on the index


Recommended Posts

I've recently been playing with PrestaShop and decided to become a little active in the community seeing as I plan on using it for some time to come. Hi everyone :)

As you may or may not have noticed, on the default theme for the new prestashop 1.2 final (don't know about the older versions) there is a grey buffer at the bottom of the featured products on the homepage.

To fix this:
Open
site.tld/modules/homefeatured/homefeatured.tpl

Find the line
{assign var='liHeight' value=360}
Replace with
{assign var='liHeight' value=350}

Enjoy

Link to comment
Share on other sites

  • 3 weeks later...

Hi there,
I'd want to remove some space at the featured product "short description" so that it can contain only 2 lines.
And increase the space for "Product name" so that it can display up to 5 lines instead of 2 lines by default.
Thanks.

Found solution:
Remove extra space at home featured bottom
modules/homefeatured/homefeatured.tpl >> {assign var=‘liHeight’ value=360} >> set value to 225
Increase space for "Featured product name"
(global.css >> #center_column div.products_block h5 { >> set height 2.5 to 5.5em)
Increase 35 to 85 chars for "Featured product name"
(modules\homefeatured\homefeatured.tpl >> {$product.name|escape:htmlall:'UTF-8'|truncate:35})
Hide "Featured product short description"
(global.css >> #center_column div.products_block p.product_desc >> set height 9.5 to 0em)

Link to comment
Share on other sites

  • 1 month later...

Hi guys, regarding this

(Increase 35 to 85 chars for “Featured product name” (modules\homefeatured\homefeatured.tpl >> {$product.name|escape:htmlall:‘UTF-8’|truncate:35})


I can't seem to find this in the latest prestashop:

$product.name|escape:htmlall:‘UTF-8’|truncate:35})



Which line did you guys find it on..?

Link to comment
Share on other sites

  • 1 month later...

friends im looking for something which i think u guys may be able to help

1. In featured Products
i need to list 6 products instead of 4 in featured products
what i have done so far is changed {assign var='nbItemsPerLine' value=6}

i get 6 products but 4 in one line and 2 in the next :))

2.. In the Product listing when i click a category

usually we get just one rectangle block listing the product

is it possible to list 2 in one line ?

pls help me if u can ..really need them :)

cheers

Link to comment
Share on other sites

friends im looking for something which i think u guys may be able to help

1. In featured Products
i need to list 6 products instead of 4 in featured products
what i have done so far is changed {assign var='nbItemsPerLine' value=6}

i get 6 products but 4 in one line and 2 in the next :))

2.. In the Product listing when i click a category

usually we get just one rectangle block listing the product

is it possible to list 2 in one line ?

pls help me if u can ..really need them :)

cheers




Look here
http://www.prestashop.com/forums/viewthread/39559/themes___graphics/_solved_featured_products__6_in_row
Link to comment
Share on other sites

  • 2 years later...

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