Viewing 1 post (of 1 total)
  • Author
  • #5088
    benoit massé

    hello guys,

    I am setting up a simple website: http://www.ferenia.com.

    However nice (thanks for giving us this tool) Responsive Lightbox looks, it works only on my homepage, but not on the product pages, like http://ferenia.com/shop/num07/parapluie-globo-multi/

    Note that its doesn’t work for the first image, but some other lightbox show up when I click on the second picture. I disabled my theme lightbox already, and I added this code to functions.php in my theme:

    function df_woocommerce_single_product_image_html($html) {
    	$html = str_replace('data-rel="prettyPhoto', 'rel="lightbox', $html);
    	return $html;
    add_filter('woocommerce_single_product_image_html', 'df_woocommerce_single_product_image_html'); // single image
    add_filter('woocommerce_single_product_image_html', 'df_woocommerce_single_product_image_html', 20, 1); // single image

    Does someone have an idea?

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.