- This topic has 8 replies, 2 voices, and was last updated 5 years, 4 months ago by
Elvin.
-
AuthorPosts
-
December 20, 2020 at 8:33 pm #1588653
Mark
Hi,
The Product image now show as 50% on mobile view. It was showing 100% before.
Please helpDecember 20, 2020 at 9:05 pm #1588666Elvin
StaffCustomer SupportHi,
Can you try disabling all caching plugins and check if it still occurs? Let us know.
December 20, 2020 at 9:48 pm #1588688Mark
Thanks.
It seems that it is working OK when I disable my caching. I setup a test environment. See link.
But, I need to use Cache.
How can I get around it? Or, Will you able to advise which CSS file that cause the issue ?
ThanksDecember 20, 2020 at 10:00 pm #1588697Elvin
StaffCustomer SupportHow can I get around it? Or, Will you able to advise which CSS file that cause the issue ?
It’s hard to tell from looking at your site’s page source because all the CSS served are from the cached version rather than the original source.
Try this:
You can try clearing/purging your cache so the caching plugin would make a new one based from your latest setting.
December 20, 2020 at 11:25 pm #1588746Mark
Ok. I had purged all cache. Please check
December 20, 2020 at 11:35 pm #1588753Elvin
StaffCustomer SupportHere’s what I see on my end now:
https://share.getcloudapp.com/Wnul76XlWhen the site had the 50% on mobile issue, it was using this:
.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images { width: 50%; }Which was saved within the cache.
Now it’s using this:
media="(max-width: 768px)" .woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images { width: 100%; }From
generate-woocommerce-mobile-cssfrom the plugin’s.../wp-content/plugins/gp-premium/woocommerce/functions/css/woocommerce-mobile.min.css.This means the caching plugin is messing up how WooCommerce’s CSS works.
December 20, 2020 at 11:58 pm #1588775Mark
Hi,
I had excluded it from caching & it’s working fine now.
Many thanks for your help.
Have a great day!December 20, 2020 at 11:58 pm #1588778Mark
Thank you
December 21, 2020 at 12:02 am #1588782Elvin
StaffCustomer SupportNice one! Glad you got it sorted. No problem. 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.