Light box is out of proportion on gsm / mobile device

  • Posts: 5
  • Thank you received: 0
8 years 3 months ago #264589

Hello,

I make a webshop for a customer with the template J51_Chelsea - Example Style 2
I use Hikashop when i click on an image on the desktop version is it a large picture.
When i open the site in mobile mode or on a GSM the picture is too large and the proportion is not correct.
Is that a problem from Hikashop or the Template and how can i solved that.
This is the direct link to an image Large picture

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

  • Posts: 83937
  • Thank you received: 13598
  • MODERATOR
8 years 3 months ago #264591

Hi,

It comes from the CSS of the popup system of Joomla. Add such CSS to prevent that:
#sbox-content { height: auto !important; }

The following user(s) said Thank You: bammbamm

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

  • Posts: 5
  • Thank you received: 0
8 years 3 months ago #264729

Thanks for the solution :)
I added and works fine :)

Only now i have the issue when i click a image: see a white pop up no picture and click again the same picture than i see the large image. I upload 2 files than can you see the issue.
Any idea?

test.metropolitadesign.com/index.php/hik...porsche-carrera-4964

In Firefox works it perfect only in IE 11 sometimes i have that issue, i tried a larger and smaller image but same issue.

Attachments:
Last edit: 8 years 3 months ago by bammbamm.

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

  • Posts: 83937
  • Thank you received: 13598
  • MODERATOR
8 years 3 months ago #264741

Hi,

I'm not able to reproduce the problem on your link. I always see the image in big when I click on the thumbnail.
However, the first time I do, I do see a small popup square for half a second until the image is downloaded.
I suppose that you must be on a slow internet connection and it takes more time for the browser to load the image on the first click because the image size is too big.

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

Time to create page: 0.069 seconds
Powered by Kunena Forum