Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #283581

    Hello

    I created a woocommerce product with 3 gallery images and 1 featured image.
    When I click on a product image a lightbox appear, but there’s no way to see the other image’s miniatures.
    If I use a wp default theme (tried with twentyfourteen) into the lightbox appear a miniatures box.

    I’m trying to enable this.

    I tried to change the “overlay_gallery” parameters at line 856 in enfold/js/avia.js file but nothing change.

    I tried to commet the line 61 of the same file to disable lightbox callback

    //$(container).avia_activate_lightbox({callback:’avia_lightbox_callback’});

    and then install a plugin like “Fancybox For WordPress” to see if another lightbox will make the gallery images overlay to appear.
    It seems that this solution doesn’t work…

    I tried to customize pretty enfold/js/prerryPhoto CSS and JS to see if gallery markup was removed…but it seems that all is ok.
    I tried to substitute the theme prettyPhoto CSS and JS with the standard one, downloaded from prettyPhoto website…nothing changed.

    Is there a way to let the gallery overview to be displayet in prettyPhoto lightbox?

    Thanks for help

    #283956

    Hey Lorenzo!

    Open up enfold/js/avia.js and replace:

    
    elements.prettyPhoto({ social_tools:'',slideshow: 5000, deeplinking: false, overlay_gallery:false, default_width: ww, default_height: wh });
    

    with

    
    elements.prettyPhoto({ social_tools:'',slideshow: 5000, deeplinking: false, overlay_gallery:true, default_width: ww, default_height: wh });
    

    Regards,
    Peter

    #283972
    This reply has been marked as private.
    #284520

    Hey!

    Please insert this code into the quick css field:

    
    #top .pp_gallery {
    display: block !important;
    }
    

    Obviously Kriesi hided it with css code too ;)

    Regards,
    Peter

    #284655

    All solved…now It works!
    Thanks dude…

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘prettyphoto product lightbox doesn't show gallery overlay’ is closed to new replies.