Scattered view when loading (slow connections)

  • Posts: 217
  • Thank you received: 4
10 years 2 months ago #207870

-- url of the page with the problem -- : elody.cz/obchod/vse
-- HikaShop version -- : 2.4.0

Hello,

please, when my product listing is beign loaded slowly there happend this situation:



It could be solved by setting containers height (or min height), but it its different for different devices and hikashop views.

So, my question is:
How can I set containers height according to image?


Thank you !
Filip

Attachments:

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

  • Posts: 84305
  • Thank you received: 13700
  • MODERATOR
10 years 2 months ago #207874

Hi,

If you force the container height with CSS, the images size won't be adapted anymore.
The only option would be to add custom javascript code to set the height of the containers based on the images calculated height on the browser. But that means that the images must be loaded before. And since you want to do that before the images are loaded, I don't see a good solution.

For your information, on my broadband connection, I hardly see the display issue. It lasts only a split of a second. And my connection speed is average in France.

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

  • Posts: 217
  • Thank you received: 4
10 years 2 months ago #208050

Hello,

ok, I will keep it.

Thank you :)

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

Time to create page: 0.068 seconds
Powered by Kunena Forum