- Posts: 4
- Thank you received: 1
Maintain aspect ratio of product detailed/zoomed view?
9 years 9 months ago - 9 years 9 months ago #261749
by PaulR
Maintain aspect ratio of product detailed/zoomed view? was created by PaulR
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.5
Hi
On a product page, when I click on the product image to get a larger view, the image loses its aspect ratio with smaller windows/devices.
How can I get HikaShop to preserve the aspect ratio?
Thanks in advance!
-- Joomla version -- : 3.6.5
Hi
On a product page, when I click on the product image to get a larger view, the image loses its aspect ratio with smaller windows/devices.
How can I get HikaShop to preserve the aspect ratio?
Thanks in advance!
Last edit: 9 years 9 months ago by PaulR.
Please Log in or Create an account to join the conversation.
9 years 9 months ago - 9 years 9 months ago #261776
by Philip
Replied by Philip on topic Maintain aspect ratio of product detailed/zoomed view?
Hello,
These way to treat picture image is strange can you provide an Url link with concerned product please ?
Does this issue touch all your product or just one image ?
I suspect some custom Css to modify classic way to proceed.
Awaiting news from you
Regards
These way to treat picture image is strange can you provide an Url link with concerned product please ?
Does this issue touch all your product or just one image ?
I suspect some custom Css to modify classic way to proceed.
Awaiting news from you
Regards
Last edit: 9 years 9 months ago by Philip.
Please Log in or Create an account to join the conversation.
9 years 9 months ago #261830
by PaulR
Replied by PaulR on topic Maintain aspect ratio of product detailed/zoomed view?
Thanks very much for the reply. I had provided the Url in the thread info and set it to private. I have PM'd you the link to the (only) product on the site, which is live but not ready for ridicule yet. 
Hope this helps!
Hope this helps!
Please Log in or Create an account to join the conversation.
9 years 9 months ago #261832
by nicolas
Replied by nicolas on topic Maintain aspect ratio of product detailed/zoomed view?
Hi,
That's linked to the CSS of the popup system of Joomla.
Add such CSS on your website to prevent that:
#sbox-window, .sbox-content-image, .sbox-content-image img{ height: auto !important; }
That's linked to the CSS of the popup system of Joomla.
Add such CSS on your website to prevent that:
#sbox-window, .sbox-content-image, .sbox-content-image img{ height: auto !important; }
Please Log in or Create an account to join the conversation.
9 years 9 months ago #261953
by PaulR
Replied by PaulR on topic Maintain aspect ratio of product detailed/zoomed view?
Thank you very much. For other readers, if you are using something like the Purity III template, you need to put the CSS in a file called custom.css located here...
templates/purity_iii/css/custom.css
templates/purity_iii/css/custom.css
The following user(s) said Thank You: csymmonds
Please Log in or Create an account to join the conversation.
Time to create page: 0.071 seconds