-
AuthorPosts
-
April 5, 2023 at 11:42 am #1403596
Hello,
I have a question. I have been using the enfold theme for a long time for a webshop for a bicycle store in combination with WooCommerce. Now suddenly the images on the category overview page are different in size. I duplicate an existing product and adjust everything. The images I add new to the media library are the same size as the ones already there.
Attached is an image for clarification.
I have already tried the following:
1. Adjust settings via customizer > Woocommere > product images > thumbnails
2. Updated Enfold and WP.
3. Deactivated all plugins.
4. Removed all CSS.
Does anyone have an idea what could be causing this problem?
Thanks in advance for the response.
April 7, 2023 at 6:32 am #1403765Hey JPVNVRN,
Thank you for the inquiry.
Please try to adjust the settings in the WordPress > Customizing > WooCommerce > Product Images panel and choose Uncropped, then go to WooCommerce > Status > Tools > Regenerate shop thumbnails, and click the Regenerate button. You may need to add this filter in the functions.php file as well.
add_filter( 'avf_wc_before_shop_loop_item_title_img_size', 'avf_wc_before_shop_loop_item_title_img_size_mod', 10, 1 ); function avf_wc_before_shop_loop_item_title_img_size_mod( $thumbnail_size ) { return 'woocommerce_thumbnail'; }
Let us know if this helps.
Best regards,
IsmaelApril 7, 2023 at 3:26 pm #1403819Hi Ismael,
Thank you for your reply.
Unfortunately, this does not work. Do you or anyone else have any idea what could be causing this?
Please let me know.
Best Regards,
Joep
April 7, 2023 at 3:27 pm #1403820Hi Ismael,
Thank you for your reply.
Unfortunately, this does not work. Do you or anyone else have any idea what could be causing this?
Please let me know.
Best Regards,
Joep
April 9, 2023 at 4:10 pm #1403952 -
AuthorPosts
- You must be logged in to reply to this topic.