- Posts: 279
- Thank you received: 1
hikashop_product_main_image
- trogladyte
-
Topic Author
- Offline
Less
More
12 years 11 months ago #130617
by trogladyte
hikashop_product_main_image was created by trogladyte
-- 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.
-- 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.
12 years 11 months ago #130648
by nicolas
Replied by nicolas on topic hikashop_product_main_image
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; }
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.
- trogladyte
-
Topic Author
- Offline
Less
More
- Posts: 279
- Thank you received: 1
12 years 11 months ago #130659
by trogladyte
Replied by trogladyte on topic hikashop_product_main_image
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.182 seconds