-
AuthorPosts
-
September 19, 2017 at 12:37 pm #853812
Hi,
I tried several things mentioned here in the forum and this other code to put in functions.phpremove_theme_support( 'wc-product-gallery-zoom' ); remove_theme_support( 'wc-product-gallery-lightbox' );
But I can’t get rid of these things.
Your help is highly appreciated.
September 19, 2017 at 2:50 pm #853866Hey Ralf,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( do be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.Best regards,
NikkoSeptember 19, 2017 at 4:05 pm #853898Thanks a lot Nikko.
see private below.September 22, 2017 at 5:34 am #855154Hi,
Wrap the functions inside the “after_setup_theme” hook.
add_action( 'after_setup_theme', 'ava_remove_custom_gallery', 100 ); function ava_remove_custom_gallery() { remove_theme_support( 'wc-product-gallery-zoom' ); remove_theme_support( 'wc-product-gallery-lightbox' ); }
Best regards,
IsmaelSeptember 22, 2017 at 7:58 am #855220Thank you Ismael,
unfortunatelly this one did … nothing.September 22, 2017 at 9:11 am #855260Hi,
Please post the login details here so that we can test it. Did you set the Shop Options > Product gallery to the second option?
Best regards,
IsmaelSeptember 22, 2017 at 9:14 am #855263This reply has been marked as private.September 23, 2017 at 3:16 am #855652Hi,
The product gallery is already set to the second option and we added the following filter in the functions.php file to disable the lightbox.
add_filter( 'body_class', function( $classes ) { if(is_singular('product')) { $classes = array_merge( $classes, array( 'noLightbox' ) ); } return $classes; });
Best regards,
IsmaelSeptember 25, 2017 at 8:30 am #856359Wow,
almost perfect Ismael ! You made my Monday morning a happy one.
The only thing left is that the image itself is clickable – which I don’t want to.
Could you please also help me with this?
Have a nice start into this week.September 25, 2017 at 10:12 am #856388Hi Ralf,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
.single-product .woocommerce-product-gallery__image { pointer-events: none; }
If you need further assistance please let us know.
Best regards,
VictoriaSeptember 25, 2017 at 10:26 am #856402Hi Victoria,
working perfect. Thanks a lot!
This thread can be closed.Let me say again a big Thank You !!! to all of you.
September 25, 2017 at 10:37 am #856408Hi Ralf,
Glad we got things working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.