immorta7
Member
Posted 5 months ago #
I need help. I'm no powerhouse with coding, so please be gentle :-)
I installed fancybox plugin for my portfolio page. But now, it is causing every single image on my website to be affected (including the slider). My website is
http://www.jgraphicdesign.com
Help.
thank you
-Hanan
http://wordpress.org/extend/plugins/fancybox-for-wordpress/
José Pardilla
Member
Posted 5 months ago #
By default the plugin takes all thumbnails that link to an image file and applies fancybox to them, so the easiest way to remove fancybox from your slider is to make your slider links point somewher else, like the portfolio sections.
Or you can go to the plugin settings, and in the gallery tab choose custom and edit the code to something like:
jQuery(".gallery").find(thumbnails).addClass("fancybox").attr("rel","fancybox").getTitle();
The example code should limit the plugin to post galleries you create in the WordPress editor.
immorta7
Member
Posted 5 months ago #
Jose,
Thank you very much.
If I may bother you again one more time:, what happens now is that other images and even the sliders simply open up in a different window. How can I make those images NOT be clickable at all?
thank you again.
Hanan
immorta7
Member
Posted 5 months ago #
Oh,
Actually, I figured it out. Just remove the link from the photos. Duh!
Thank you.