-
AuthorPosts
-
March 16, 2018 at 10:38 pm #928307
Hi,
I need your guidance on a problem I have encountered.In relevance to comments posted by various users on your forum, I decided to perform the update of my website to EnfoldVersion: 4.2.6 in Local Host. I have updated my PHP version 7.1.15
Everything seemed to run smoothly except for the pictures of the WooCommerce products which are not displayed at all. After research I went into I came up with the conclusion that the problem is created due to the “noLightbox single-product-main-image alpha” indication (as per depicted on the 2nd screenshot attached herewith, compared to the 1st one attached where it seems that the pictures are operational).https://prnt.sc/is7t49
https://prnt.sc/is7u9dPlease note the following:
– the “Lightbox Modal Window” field is checked on the Enfold theme Options
– I have cleaned my website Cache
– my child theme functions.php file contains<?php
/*
Woocommerce 3.0.0 Compatibility Fix
Remove Enfold’s custom functions that conflict with the new image display in WooCommerce 3.0.0
*/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;
}}
– and finally my child theme style .css contains
.woocommerce-product-gallery__trigger{
position: absolute !important;
top: 1em;
left: 1em;
z-index: 99;
}Kindly advise on prompt action to be taken from my part.
March 20, 2018 at 2:45 am #929466 -
AuthorPosts
- You must be logged in to reply to this topic.