Reply To: ***HELP***when SVG is clicked it should open Fancybox but doesn't

Your Account / Forums / Easy FancyBox Pro / ***HELP***when SVG is clicked it should open Fancybox but doesn't / Reply To: ***HELP***when SVG is clicked it should open Fancybox but doesn't

November 4, 2017 at 12:08 am #11261

Hello Debby, welcome on these forums 🙂

Sorry to hear you are having trouble getting things to work on your site. Looking at your code, I might be able to give some useful tips to help you along but if it’s not enough, could you send us a link to your site to see it live? You can post it on this thread of use the contact form (with mention of this thread).

What I notice about your code is twofold and all about this snippet: xlink:href="#fancy-truck" class="fancy-inline"

First, the class needs to be fancybox-inline but it might be just a type-O…

Then, the script needs a href attribute but your code uses xlink:href which is likely not recognized by the script. Could you either change that to a simple href or (if xlink:href is needed for another script) add a dedicated href attribute?

Rolf