Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #176379

    Hi!

    I’ve used target blank in a multilingual text widget but it doesn’t open my pdf in a new window. It seems to me it is a rather normal html-text-widget in the sidebar of the Enfold theme.
    I couldn’t find a matching solution in the forums. In the slideshow there’s a similar link and that works fine.
    I’m using WPML but I don’t think that has anything to do with it.

    Could you please take a look? It’s the pdf in the sidebar of this page:
    http://martvandijk.nl/en/homepage/
    (download stocklist)

    Thanks!

    #176382
    This reply has been marked as private.
    #176446

    Hi!

    Please review your code. This is how it looks on the page http://i.imgur.com/y6lHZxk.jpg
    it should be;

    target=”_blank”

    Regards,
    Yigit

    #176449

    that’s strange… In the backend of wordpress the code is as it should be: target=”_blank”.

    But… when I looked in the code above, I saw I forgot to close the <li>-tag. Once I changed it, it works.

    
    <a href="http://martvandijk.nl/meeneemhagen/"><li> Meeneemhagen</li></a>
    
    <a href="http://martvandijk.nl/wp-content/uploads/Voorraadlijst.pdf">Download hier onze actuele voorraadlijst<img src="http://martvandijk.nl/wp-content/uploads/acrobat.png" border="0" height="20" width="20" /></a>

    So, sorry to trouble you and thanks for the help!

    • This reply was modified 11 years, 2 months ago by Devin.
    #176454

    Hi!

    You are welcome, glad we could help! Let us know if you have any other questions or issues :)

    Regards,
    Yigit

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘opening pdf in text widget in a new window target blank’ is closed to new replies.