To connect Ads-Mediabox, please, use the settings shown below.
Insert the following code into functions.php of your theme.
0 1 2 3 4 5 6 7 8 |
function wc_remove_image_effect_support() { remove_theme_support('wc-product-gallery-zoom'); remove_theme_support('wc-product-gallery-lightbox'); } add_action('after_setup_theme', 'wc_remove_image_effect_support', 100); |
Use the following selector.
0 1 2 |
.woocommerce-product-gallery__image a[href$=".jpg"], .woocommerce-product-gallery__image a[href$=".png"], .woocommerce-product-gallery__image a[href$=".jpeg"] |
You can remove the list of unneeded image formats if you do not use them.
For example, leaving only .jpg. Then your selector will look like this.
0 1 2 |
.woocommerce-product-gallery__image a[href$=".jpg"] |
If the plugin does not run, please, use the composite selector that is suitable for your theme. See this page for more details.
In case you encounter any difficulties, please, contact out support team.