Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #611559

    Hi there,

    My client’s website is using Enfold, Woocommerce and YITH Advanced Reviews. In the Enfold options I have enabled lightbox.
    With YITH Advanced Reviews the users are able to upload images in the review section.
    When I view the product, the lightbox (prettyphoto) is applied to all the images on the page. When viewing images through the lightbox, the upload YITH images fall into the same sequence of images as the product images.

    I would like to have it so the product gallery and YITH Advanced Review images don’t fall under the same gallery. Would it possible to achieve this?

    #612329

    Hi,

    Open js/avia.js and look for line:

    exclude			:	'.noLightbox, .noLightbox a, .fakeLightbox, .lightbox-added, a[href*="dropbox.com"]',
    

    Replace it by this:

    exclude			:	'.review_thumbnail a, .noLightbox, .noLightbox a, .fakeLightbox, .lightbox-added, a[href*="dropbox.com"]',
    

    Regards,
    Josue

    #613342

    Thanks Josue, but it appears that the lightbox is still applied to those a tags even after updating the avia.js file.

    • This reply was modified 8 years, 8 months ago by thelandman.
    #614711

    Hey!

    The line you need to change is 899.

    Best regards,
    Josue

    #615829

    Thanks Josue, that did the trick :) Is there any way to keep lightbox enabled on the review thumbnails but not to allow it to be in the same gallery as the product images?

    #615861

    Hey!

    Everything is possible, but that would need a lot of work to be done, I am afraid from what Josue posted till now to assist you.

    You can contact one of our Customization Contractors, who will help you out with the process.

    Let us know if we could do anything else, regarding our theme

    Best regards,
    Basilis

    #698073

    I’m facing a strange problem now.

    There are two lightboxes showing on the theme now. If a user clicks a product thumbnail, it shows Pretty Photo and Magnific Avia popup which is included in Enfold.
    I’d like to only have one working lightbox. Can I keep Magnific Avia on the product images and disable Pretty Photo on these?

    Thanks,
    Chris

    #699738

    Hi,

    Please try this in the Quick CSS field.

    .single-product .pp_pic_holder.pp_woocommerce, .single-product .pp_overlay {
        display: none !important;
    }

    Best regards,
    Ismael

    #706877

    Unfortunately, this hides the prettyPhoto lightbox all together.

    Is there any way to use Magnafia on other images too?

    #708272

    Hi,

    what do you mean? where can we see the issue now? on the link you’ve provided it seems pretty ok now.

    Best regards,
    Andy

    #708318

    @Andy,

    That’s because i fixed it myself. :)

    #708603

    Hi,

    Great, glad you got it working :-)

    Please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.