Jump to content

NEW PRODUCTS Block Modification - Words overlap image issue


Recommended Posts

Hi I have found the solution to modify the new product block in this thread:
http://www.prestashop.com/forums/viewthread/35017/third_party_modules/new_products_module_modification_add_images/

However I have two problems.

1) The words overlapping the image. Attached is the screenshot of the eg.

Anybody has any idea how to make the block increase in height automatically so that I can type as many characters I want in the description of the product? Or at least control the height?

2) The image is fixed by the getImageLink function and if I state the width=150 in the html text, the image becomes blurred.
Any way to change the getImageLink function to generate the image size I want?

getImageLink($newproduct.link_rewrite, $newproduct.id_image, 'medium')}" alt="{$newproduct.legend|escape:htmlall:'UTF-8'}" />

Thanks in advance.

36861_YjBMlrt23ru8Yf0pGWsz_t

Link to comment
Share on other sites

Hi bleuboat,

1) There's either a height set or an element float and/or display problem. It al depends on the markup and css so it would help to post a link to your shop if possible.

2) You also need to change the image width in the admin: Preferences > Images . Then regenerate thumbnails.

Link to comment
Share on other sites

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