- Posts: 424
- Thank you received: 11
overlapping images responsive view
- BluepointWebdesign
-
Topic Author
- Offline
Less
More
6 years 10 months ago #312852
by BluepointWebdesign
overlapping images responsive view was created by BluepointWebdesign
-- url of the page with the problem -- :
01.bluepoint-concept.nl
-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.12
-- PHP version -- : 7.xx
-- Error-message(debug-mod must be tuned on) -- : overlapping images responsive view
Hello,
Images and columns doen't scale when viewing it on ipad or mobile devices.. They overlap. How can we adjust this? what is the solution to have this working correctly?
Please see attachement.
We have read a lot threads about the @media rules.. but none of them are responding?
Pleas help..
Thanks.
-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.12
-- PHP version -- : 7.xx
-- Error-message(debug-mod must be tuned on) -- : overlapping images responsive view
Hello,
Images and columns doen't scale when viewing it on ipad or mobile devices.. They overlap. How can we adjust this? what is the solution to have this working correctly?
Please see attachement.
We have read a lot threads about the @media rules.. but none of them are responding?
Pleas help..
Thanks.
Please Log in or Create an account to join the conversation.
6 years 10 months ago - 6 years 10 months ago #312859
by Philip
Replied by Philip on topic overlapping images responsive view
Hello,
We aren't sure this will solve your issue, but can you try to update your HikaShop version.
In the last build, we have add some specific css command for Safari navigator.
Hope this will solve your issue.
Regards
We aren't sure this will solve your issue, but can you try to update your HikaShop version.
In the last build, we have add some specific css command for Safari navigator.
Hope this will solve your issue.
Regards
Last edit: 6 years 10 months ago by Philip.
Please Log in or Create an account to join the conversation.
- BluepointWebdesign
-
Topic Author
- Offline
Less
More
- Posts: 424
- Thank you received: 11
6 years 10 months ago #312891
by BluepointWebdesign
Replied by BluepointWebdesign on topic overlapping images responsive view
Hello,
We have the latest version hikashop Business 4.2.2.
That won't solve the issue then..
Regards,
Mark
We have the latest version hikashop Business 4.2.2.
That won't solve the issue then..
Regards,
Mark
Please Log in or Create an account to join the conversation.
6 years 10 months ago #312897
by nicolas
Replied by nicolas on topic overlapping images responsive view
Hi,
You already have the 4.2.2 but you have an old build of the 4.2.2. Since then, we've added some CSS to help with the display of listings with Safari as it was reported to us a few days ago.
So download again the install package on our website and install it again on yours and it will add the patches for better display on Safari. Then, please try again and see how it goes.
You already have the 4.2.2 but you have an old build of the 4.2.2. Since then, we've added some CSS to help with the display of listings with Safari as it was reported to us a few days ago.
So download again the install package on our website and install it again on yours and it will add the patches for better display on Safari. Then, please try again and see how it goes.
Please Log in or Create an account to join the conversation.
- BluepointWebdesign
-
Topic Author
- Offline
Less
More
- Posts: 424
- Thank you received: 11
6 years 10 months ago #312905
by BluepointWebdesign
Replied by BluepointWebdesign on topic overlapping images responsive view
Please Log in or Create an account to join the conversation.
6 years 10 months ago - 6 years 10 months ago #312906
by Philip
Replied by Philip on topic overlapping images responsive view
Last edit: 6 years 10 months ago by Philip.
Please Log in or Create an account to join the conversation.
- BluepointWebdesign
-
Topic Author
- Offline
Less
More
- Posts: 424
- Thank you received: 11
6 years 10 months ago #312921
by BluepointWebdesign
Replied by BluepointWebdesign on topic overlapping images responsive view
Please Log in or Create an account to join the conversation.
6 years 10 months ago - 6 years 10 months ago #312923
by lousyfool
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Replied by lousyfool on topic overlapping images responsive view
Hi,
Let me try to solve the mystery:
First, it has nothing to do with the "Safari bug". Actually, it happens in any browser.
If you look up the browser console, you'll find that it comes from CSS as follows:
and
This is inserted as a <style> tag in the <head> section:
And it's generated by the following code at the bottom of any views using the product image, like in your case "listing_img_title":
Obviously, this "fixes" the container sizes depending on the settings in the HikaShop main configuration for images, basically "killing" responsiveness.
So, first thing to do: play with those settings, though it might not help. (Which is why I myself comment the above code out in a view override.)
Or override this CSS in your custom frontend CSS.
In this particular case, even if you did any of the above, your Joomla template is missing classic CSS for responsive images and similar content, such as
So, you may want to add that, too (on template level?) and, for webp images in this case, also add a selector "picture > *".
Amen.
Let me try to solve the mystery:
First, it has nothing to do with the "Safari bug". Actually, it happens in any browser.
If you look up the browser console, you'll find that it comes from CSS as follows:
and
This is inserted as a <style> tag in the <head> section:
And it's generated by the following code at the bottom of any views using the product image, like in your case "listing_img_title":
Code:
if(isset($this->rows[0]) && $this->rows[0]->product_id == $this->row->product_id) {
$css = '';
if((int)$this->image->main_thumbnail_y>0){
$css .= '
#'.$mainDivName.' .hikashop_product_image { height:'.(int)$this->image->main_thumbnail_y.'px; }';
}
if((int)$this->image->main_thumbnail_x>0){
$css .= '
#'.$mainDivName.' .hikashop_product_image_subdiv { width:'.(int)$this->image->main_thumbnail_x.'px; }';
}
$doc = JFactory::getDocument();
$doc->addStyleDeclaration($css);
}
Obviously, this "fixes" the container sizes depending on the settings in the HikaShop main configuration for images, basically "killing" responsiveness.
So, first thing to do: play with those settings, though it might not help. (Which is why I myself comment the above code out in a view override.)
Or override this CSS in your custom frontend CSS.
In this particular case, even if you did any of the above, your Joomla template is missing classic CSS for responsive images and similar content, such as
Code:
audio, canvas, img, svg, video {
max-width: 100%;
height: auto;
box-sizing: border-box;
}
Amen.
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Last edit: 6 years 10 months ago by lousyfool.
The following user(s) said Thank You: Philip
Please Log in or Create an account to join the conversation.
6 years 10 months ago - 6 years 10 months ago #312934
by Philip
Replied by Philip on topic overlapping images responsive view
Last edit: 6 years 10 months ago by Philip.
Please Log in or Create an account to join the conversation.
Time to create page: 0.406 seconds