Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #29259

    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

    http://www.progenki.com/scroll/kin-moy/

    #140193

    Hi,

    Add the class “noLightbox” on the anchor tag.

    <a class="noLightbox" href="YOUTUBE LINK"><img src="IMAGE URL HERE" /></a>

    Regards,

    Ismael

    #140194

    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.

    #140195

    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

    #140196

    Thank you for your help. Is there anything I can add on to make the page open in a separate window by default?

    #140197

    Hi,

    by adding target=”_blank” as above, you can make it open in a new window

    Regards,

    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Youtube links read as a broken image?’ is closed to new replies.