I have an Envira Gallery plugin on my website and it’s currently not functioning as it is designed. The makers of the plugin have suggested that I disable PrettyPhoto for any page on which I include their gallery. Can I do this with CSS and can I make it so that it only affects the homepage?
Thank you in advance for the assistance with this.
The page where you can view the problem is here. Click the ‘Internal Communications” thumbnail. The plugin is configured so that, ideally, it will pop up a video player in place and start that clip playing. Unfortunately, what is currently happening is users click that thumbnail and a continually spinning logo pops up, indicating a pop-up that never loads.
Thank you again.
So you don’t want to disable the themes’ prettyPhoto globally, just on the front page?
That is correct. It was suggested that PrettyPhoto may be causing a conflict with my Envato Gallery video plugin, so the homepage would be the only page where I’d need to disable it.
I’m not 100% that PrettyPhoto is the culprit, but it’s my starting-off point. :)
Thank you for any assistance.
This may be possible via a bit a JS to the functions.php file, is it possible that you can also provide ftp info in the private section so that we may try to work this out?
We added the “noLightbox” class attribute in the slider’s Misc > Custom Gallery Classes field.
Thank you for your efforts, all.
Ismael, that worked perfectly! Thank you for the work you put in towards fixing my issue. I’ve also notified Envira Gallery so they know how to fix the problem in the future, should it come up again.
Thank you all again. :)
The topic ‘Disable PrettyPhoto (or similar) on homepage’ is closed to new replies.