hikashop_product_main_image

  • Posts: 279
  • Thank you received: 1
11 years 7 months ago #130617

-- HikaShop version -- : 2.2.2
-- Joomla version -- : 2.5.14

This has a height set at 275px. Can't find where this is set or understand why it isn't just the actual height of the image. It should be auto IMHO.

Please Log in or Create an account to join the conversation.

  • Posts: 83995
  • Thank you received: 13605
  • MODERATOR
11 years 7 months ago #130648

This is the height of the thumbnail that you configured in the size options of the images/thumbnails in the configuration.
It is necessary in order to display badges properly because on some websites, the images don't have all the same ratio and thus not the same thumbnail height and without forcing the height, badges wouldn't display at the same place for each product and it would be ugly.
If you want to force it to auto, simply add a line of CSS:
.hikashop_product_main_image{ height: auto !important; }

Please Log in or Create an account to join the conversation.

  • Posts: 279
  • Thank you received: 1
11 years 7 months ago #130659

Ahh thanks for the explanation Nicolas - makes sense now, even to a non-coder!

Please Log in or Create an account to join the conversation.

Time to create page: 0.052 seconds
Powered by Kunena Forum