You just need to add following class to your youtube link:
This class will deactivate the lightbox effect for the particular youtube link.
Unfortunately that did not fix the problem. I tried to paste the code here, but it automatically edits out the class=”nolightbox”
When I inspect element It has the class=”nolightbox” but also has the code rel=”lightbox[auto_group1]” Could this be the problem?
Also, I don’t need lightbox at all on this site, so turning it off completely work for me too, if you could instruct me on how to do that.
Glad that you fixed the issue. For anyone else benefit – you can deactivate the lightbox by removing following code from js/avia.js:
//activates the prettyphoto lightbox
//activates the hover effect for image links
The topic ‘Link to Youtube Broken – Brings Up Lightbox’ is closed to new replies.