Child images look wrong, stretched

  • Posts: 15
  • Thank you received: 0
2 days 1 hour ago #367446

-- url of the page with the problem -- : eppmexico.com/productos/cartucho-6009-vapores-de-mercurio-3m
-- HikaShop version -- : 5.1.6
-- Joomla version -- : 5.3.1
-- PHP version -- : 8.3
-- Browser(s) name and version -- : chrome and firefox
-- Error-message(debug-mod must be tuned on) -- : Child images look wrong

Hi, suddendly child images appeared streched and i dont know how to fix them, can you please help me?

Any product looks the same, here is a random page eppmexico.com/productos/cartucho-6009-vapores-de-mercurio-3m

Thank you

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

  • Posts: 83928
  • Thank you received: 13584
  • MODERATOR
1 day 17 hours ago #367449

Hi,

I think it must be linked to your Joomla template.
Add the CSS below on your website:

img.hikashop_child_image {
    width: auto !important;
}
That will force the width to keep up with the aspect ratio of the original image instead of taking the full width available.
www.hikashop.com/support/documentation/1...ize-the-display.html
Note that you're using a plugin "jspeed" which caches the CSS on your website. So you'll have to clear its cache to see the change after adding the CSS.

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

  • Posts: 15
  • Thank you received: 0
1 day 8 hours ago #367463

Worked like a charm! Thank you very much!!

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

Time to create page: 0.056 seconds
Powered by Kunena Forum