Forum Replies Created
-
AuthorPosts
-
hi could you please check variations zoom as I tested it and it seems like slight delay or overlapping it shows previous variations image for a second with current image when zooming, is there any time setting to avoid it?
Attachments:
You must be logged in to view attached files.thank you
Hi OK and the this size woocommerce_gallery_thumbnail – 100×100 is not used anywhere? And I can switch it off?
Thank you
2. Hi sorry but I am confused as earlier you gave this link https://docs.woocommerce.com/document/image-sizes-theme-developers/ and it says in my admin that I have
woocommerce_gallery_thumbnail – 100×100 and shop_thumbnail – 100×100
So why WC uses 150 for gallery instead of default 100 at the moment?
in the article it says below , so did you change this code in your theme ?
So for example, if I wanted to change gallery thumbnails to be 150x150px uncropped images, you could use the following code:
add_filter( ‘woocommerce_get_image_size_gallery_thumbnail’, function( $size ) {
return array(
‘width’ => 150,
‘height’ => 150,
‘crop’ => 0,
);
} );I have found this plugin Stop Generating Image Sizes that can stop unnessesary thumbnails, so I need to understand which sizes I need to leave not to waste disk space.
Did you change any settings as today when I check …../product-category/swim/ it loads variations circles attached, but yesterday it said can’t find images for them 150×150, not it seems to use images 269?
4. Could you please write how did fix it?
as I am still restoring my older backups as it is a complete mess with the thumbnails at the moment.
Thank you.
Attachments:
You must be logged in to view attached files.- so I have added code to child theme functions.php
on my nginx server config I also have this code
pagespeed EnableFilters combine_css;
pagespeed EnableFilters rewrite_css;
pagespeed EnableFilters prioritize_critical_css;
pagespeed EnableFilters inline_css,flatten_css_imports;
pagespeed EnableFilters inline_javascript;
pagespeed EnableFilters combine_javascript;will it be OK to use with your code?
2. is it correct I have copied all content from /wp-content/themes/claue/assets/vendors/font-awesome/fonts to /wp-content/themes/claue-child/fonts
3. and could you please show how to do this and call in style.css file. in which file what shall I edit?
thank you
This reply has been marked as private.WOW, OK does it include correction to question 2 and 3 or is not possible to fix?
download google font, font-awesome and include to child theme. where shall I upload the downloaded fonts just to main child theme folder?
I also noticed isn’t it already downloaded to /wp-content/themes/claue/assets/vendors/font-awesome/fonts
thank you
OK thank you for clarifications!
OK, sorry and thank you I didn’t notice attachment with you first comment, now php errors are gone.
I will wait on your news about image zoom, as Alidropship has very strange system and created their own nice attributes that I would like but can’t switch off at the moment as then all the imported products variations images are not working properly.
This reply has been marked as private. -
AuthorPosts