Reduce Space Below Main Image

  • Posts: 964
  • Thank you received: 11
  • Hikashop Business
11 years 10 months ago #83296

There is a lot of spacing after the main image and before the thumbs, as per the attached image. If I remove the height from the "Product page image height" it defaults to the Thumbnail height and the spacing is reduced, and it looks better, but it also reduces the size of the main image which I don't want.

The height is 360px but the divs around the image seems to add 20px. The DIVs are hikashop_product_main_image and hikashop_image_main_thumb_div.

So, how I reduce the height of those 2 divs please?

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
11 years 10 months ago #83373

Hi,

Can you give us a link to your website, then we will maybe be able to help you ?

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

  • Posts: 964
  • Thank you received: 11
  • Hikashop Business
11 years 10 months ago #83476

Hi Mohamed,

I sent you the link privately. Thanks in advance.

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

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
11 years 10 months ago #83558

Hi,

I see the html code:

<div class="hikashop_product_main_image_thumb" id="hikashop_image_main_thumb_div" style="height:380px;">
which means that you have specified a maximum height for thumbnails.

You can set "0" to the thumbnail height in order to not have such height restriction or you can edit the view "product | show_block_img" and replace the line:
<div class="hikashop_product_main_image_thumb" id="hikashop_image_main_thumb_div<?php echo $variant_name;?>" <?php echo $style;?> >
By:
<div class="hikashop_product_main_image_thumb" id="hikashop_image_main_thumb_div<?php echo $variant_name;?>">

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: SG

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

Time to create page: 0.054 seconds
Powered by Kunena Forum