Hey Tim,
Unless I’m misunderstanding, which is totally possible, I’m not seeing any duplication on the URL you posted. Were you able to get this resolved or are you still having issues?
If you are, can you post a screenshot of the exact problem you’re having so I can help you get it resolved?
Hi Robert!
Thanks for the reply – how strange!
I’m still getting the issue on Chrome, MAC OSX – maybe therein could be this issue
Basically, I’ve attached three screenshots below, when you click on the large 2/3 width images on the right, it should open a gallery (the featherlight one) which it does π but then that’s where the image duplication happens
Hopefully the screenshots help – http://imgur.com/a/BkAtF
Best
Tim
Hey Tim,
As far as I can tell, you’re not using our plugin. It looks like you have the featherlight script embedded in your theme which would be outside of what we’re typically able to support.
Your best bet for help with the featherlight script would be to use their tag on StackOverflow.
That said, it looks like the issue you’re having is because of duplicate/incorrect markup within the theme itself. Until the duplicate items are removed, they’re going to be pulled in as gallery items.
It is also possible to specify a content filter for the gallery so that it only target specific DOM elements, but I think you’d be better off removing them from the markup as they don’t seem to serve any purpose right now.
Here’s an example of what your markup currently looks like vs what it should look like for the gallery to work the way you’re expecting:
https://gist.github.com/robneu/a67dbf125a629ac205ab
I hope that helps!
Hey Robert!
Interestingly enough, that was how I’d written the markup in your “fixed” box on github link there
What I’d totally forgotten to do was set the “RAW HTML” plugin on each of these pages – as wordpress was adding extra elements within the HTML it must have been confusing the code
I only realised because of you pointing out on that link that the original markup was wrong – took me a while to realise that wasn’t my doing π
Thanks so much for your help Robert!
Best
Tim
Awesome! Glad you were able to get it sorted out. π
Hi,
it’s seems like a similar issue, but not exact the same as described by timb0jones.
In my case two lightboxes open, the one of Featherlight (above) and the one of default WP (under). I would like to disable the one of WP, but I don’t know how.
Here you can see what happens if I navigate to the next image β I see img#2 in Featherlight and img#1 in WP. After closing Featherlight, the WP is still open and can be navigated.
Can you help?
Thanks in advance.
IDEJA
Hi idejasi,
WordPress doesn’t have a default lightbox on the front end, so the extra one must be coming from either your theme or another plugin.
Can you provide a link to your site so I can take a look?
Hi Robert,
ups, my mistake.
Here is the list of installed plugins (btw. TZ PlusGallery Pro plugin doesn’t cause that duplication) and here is the link to the site.
Thanks.
IDEJA
idejasi,
The conflict is coming from Visual Composer. You’ll need to disable the lightbox in Visual Composer in order to use Featherlight.
I checked through their documentation and didn’t see anything that explains how to disable it, so you might want to reach out to their support and ask them what needs to be done.
If there’s a way to programmatically disable it we could look at integrating that into a future update of WP Featherlight.
Robert,
I browsed through the support and found “There is not an option in the Visual Composer plugin to disable its integrated lightbox. Thatβs because there are several design elements that depend on the prettyPhoto technology being there.“
As disable is not possible, is there anyway an option you integrate a solution with the next update?
IDEJA