On our latest project with the Xstore theme (http://montt.vatestserver.com/) we’ve enabled the ‘8theme – Procucts Widget’ in the footer and pre-footer section. As you’ll see the widgets themeselves display as expected, but not the thumbnail images, i.e.:
This is obviously leaving me with an exceptionally large download size for the page which I need to fix.
I’d be grateful for your advice and solution.
I’m also having this problem with new carousels.
The gtmetrix score went on to accuse css resizing on all sliders that use smaller images. in widgets bars too.
I had a similar problem when used the infinite scrooll’s lazy load option enabled.
I’m still investigating but I could not see what the problem is.
Also on the products page the gallery loads great and gives a resized to the weird thumbnails in the first reading.
And sliders not autoplay automatically too…
I regenerate all thumbs but not solve the problem. XStore Core is last too.
If you want to look at Olga follow credentials, maybe we found the problem.
Thank you for getting back to me. I think I found the problem. The file content-widget-product.php in the Xstore theme has the code:
<img class="attachment-shop_thumbnail size-shop_thumbnail wp-post-image" src="<?php the_post_thumbnail_url( $product->get_id() )?>">
I’ve amended this to the following in a child theme which has temporarily resolved the issue:
<img class="attachment-shop_thumbnail size-shop_thumbnail wp-post-image" src="<?php the_post_thumbnail_url( 'shop_thumbnail' )?>">
Can you think of a better way to do this without the need for a child theme?
Is there a possibility this, or similar, update could be included in the next update for the Xstore theme?
Sorry, In private the correct credentials.
And virtualabode Have you tested whether the code also worked for the mobile product pages that is loading the full image and resizing?
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.
The message was successfully sent
Your shopping cart is empty