Jump to content

More lines on frontpage


Recommended Posts

So you want to increase the length of the featured products desriptions? You can do that by changing line 15 of modules/homefeatured/homefeatured.tpl:


{$product.description_short|strip_tags|truncate:130:'...'}



Change 130 to the maximum number of characters you want displayed.

You will also need to increase the height in the /* Special style for block products in global.css:

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



Increase the height from 9em until the description no longer overlaps the image.

You will also need to change the height on line 6 of modules/homefeatured/homefeatured.tpl to compensate for the increased height:

{assign var='liHeight' value=342}

  • Like 1
Link to comment
Share on other sites

  • 3 months later...
  • 3 months later...
  • 1 year later...
So you want to increase the length of the featured products desriptions? You can do that by changing line 15 of modules/homefeatured/homefeatured.tpl:

 

[url="{$product.link}"]{$product.description_short|strip_tags|truncate:130:'...'}[/url]

 

Change 130 to the maximum number of characters you want displayed.

 

 

I HAVE 121 CHARACTERS AND I INCREASED NUMBER FIRST TO 200 AND THEN TO 300, BUT NO SUCCESS. STILL THE SAME ERROR. IS IT IMPORTANT IN WHICH COLUMN IN CSV FILE IS DESCRIPTION?

 

You will also need to increase the height in the /* Special style for block products in global.css:

 

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

 

Increase the height from 9em until the description no longer overlaps the image.

 

WHERE CAN I GET CODES FOR HEIGHT ?

 

You will also need to change the height on line 6 of modules/homefeatured/homefeatured.tpl to compensate for the increased height:

 

{assign var='liHeight' value=342}

So you want to increase the length of the featured products desriptions? You can do that by changing line 15 of modules/homefeatured/homefeatured.tpl:

 

[url="{$product.link}"]{$product.description_short|strip_tags|truncate:130:'...'}[/url]

 

Change 130 to the maximum number of characters you want displayed.

 

You will also need to increase the height in the /* Special style for block products in global.css:

 

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

 

Increase the height from 9em until the description no longer overlaps the image.

 

You will also need to change the height on line 6 of modules/homefeatured/homefeatured.tpl to compensate for the increased height:

 

{assign var='liHeight' value=342}

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