-
Search Results
-
Enfold 4.0.6 fixes the blurry image issue on single product pages since WooCommerce 3.0. Therefore the woocommerce patch introduced for Enfold up to version 4.0.5 is not necessary anymore and must be removed to get full control over the new woocommerce gallery settings introduced with Enfold 4.0.6.
The following instructions apply only to those users who have installed the patch mentioned above. If you do not know what I am talking about you probably don’t need to do anything. Depending on which version of the patch you installed you have to follow a few simple steps.
Basic Patch (without new WooCommerce Gallery):
=====================================
1. Establish a ftp connection to your hosting account
2. Change to /wp-content/themes/enfold-child/
3. Download the file ‘functions.php’
4. Open the downloaded file in a text editor (like notepad++, do not use wordpad!)
5. Remove the following code block:global $woocommerce; if( version_compare( $woocommerce->version, '3.0.0', ">=" ) ) { function avia_woocommerce_gallery_thumbnail_description($img, $attachment_id, $post_id, $image_class ) { return $img; } function avia_woocommerce_post_thumbnail_description($img, $post_id){ return $img; } }6. Save the file and upload it again.
Enhanced Patch (with new WooCommerce Gallery):
=====================================
1. Establish a ftp connection to your hosting account
2. Change to /wp-content/themes/enfold-child/woocommerce/single-product
3. Delete the files product-image.php and product-thumbnails.php.
3a. If this are the only two files in the ‘single-product’ directory you can delete the ‘single-product’ directory as well
3b. If the ‘woocommerce’ directory only contains the ‘single-product’ directory and no other files you can delete the ‘woocommerce’ directory as well.
4. Change to /wp-content/themes/enfold-child/
5. Download the file ‘functions.php’
6. Open the downloaded file in a text editor (like notepad++, do not use wordpad!)
7. Remove the following code block:global $woocommerce; if( version_compare( $woocommerce->version, '3.0.0', ">=" ) ) { add_theme_support( 'wc-product-gallery-zoom' ); add_theme_support( 'wc-product-gallery-lightbox' ); function avia_woocommerce_gallery_thumbnail_description($img, $attachment_id, $post_id, $image_class ) { return $img; } function avia_woocommerce_post_thumbnail_description($img, $post_id){ return $img; } }8. Save the file and upload it again.
You have successfully removed the patch and can use the gallery selection on the shop options tab in Enfold 4.0.6
Topic: product variation image
Hi, i’ve just updated my theme. It fixed the blurry product image, but still don’t changing the product variation image. How can i fix it? This solution https://kriesi.at/support/topic/woocommerce-3-0-03-0-1-and-the-images-issue/#post-774201 works wrost than better, once the thumbails lose their form, istead of user the defaut it use the image’s original format size.
Please let me know how I can substitute another image for the full screen slider image on mobile/tablet (portrait). The slide I am using for desktop has my book image intentionally on the left. However, I would like the portrait-orientation mobile/tablet image to have more of a thumbnail-sized image or a kinda-centered image that is fixed.
I have tried substituting another image for mobile or scaling/fixing the present image (based on other forum suggestions/code) without success. I do not wish to switch to the full width slider due to the different capabilities.
Thanks for any help you can provide.
HI, I want to overlap the background image of one color section over the top of another, is this possible?
I have used a full width curved shape at the bottom of a color section with a transparent png. I want this to overlap slightly the next color section underneath it also with a full width background imageMany thanks
Hi enfold team,
I just wanna know if it’s possible to change the width of the border of a contactform to 0.5px ?
I try with css but it’s not working…
What I try :
/* modification formulaire de contact */ #top .input-text, #top input[type="text"], #top input[type="input"], #top input[type="password"], #top input[type="email"],#top textarea, #top select { border-style: solid!important; border-width:0.5px!important; border-color:#000000!important; }Thanks a lot !
Best regards,
Clement
Viewing 30 results - 79,621 through 79,650 (of 142,870 total)
