Tagged: Lightbox, prettyphoto
-
AuthorPosts
-
April 11, 2016 at 10:23 pm #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?
April 13, 2016 at 3:41 am #612329Hi,
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,
JosueApril 14, 2016 at 1:07 am #613342Thanks 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.
April 15, 2016 at 10:55 am #614711Hey!
The line you need to change is 899.
Best regards,
JosueApril 17, 2016 at 5:09 pm #615829Thanks 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?
April 17, 2016 at 7:32 pm #615861Hey!
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,
BasilisOctober 11, 2016 at 9:26 pm #698073I’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,
ChrisOctober 17, 2016 at 3:06 am #699738Hi,
Please try this in the Quick CSS field.
.single-product .pp_pic_holder.pp_woocommerce, .single-product .pp_overlay { display: none !important; }
Best regards,
IsmaelNovember 1, 2016 at 10:38 pm #706877Unfortunately, this hides the prettyPhoto lightbox all together.
Is there any way to use Magnafia on other images too?
November 4, 2016 at 4:03 pm #708272Hi,
what do you mean? where can we see the issue now? on the link you’ve provided it seems pretty ok now.
Best regards,
AndyNovember 4, 2016 at 4:43 pm #708318That’s because i fixed it myself. :)
November 5, 2016 at 8:42 am #708603 -
AuthorPosts
- You must be logged in to reply to this topic.