Hey on my site I added a youtube link and rather than it opening on another tab, it tries to pop open an image. Is there a fix for this.
Please have a look under Kin Moy’s Pages
Hi,
Add the class “noLightbox” on the anchor tag.
<a class="noLightbox" href="YOUTUBE LINK"><img src="IMAGE URL HERE" /></a>
Regards,
Ismael
I am not clear on what an anchor tag is or where I can locate it.
Is it a file or section in the wordpress dashboard?
I cant seem to locate it in either location.
Thank you for the response.
Hi,
Please post the youtube code you use here. Is that the http://www.youtube.com/user/KinKongMoy? You can do something like this:
<a class="noLightbox" href="http://www.youtube.com/user/KinKongMoy">http://www.youtube.com/user/KinKongMoy</a>
You can also use goo.gl to shorten the youtube url. It will be considered as a normal link rather than a youtube link.
<a href="http://goo.gl/zTVrnu">http://www.youtube.com/user/KinKongMoy</a>
Regards,
Ismael
Thank you for your help. Is there anything I can add on to make the page open in a separate window by default?