Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #342397

    I would like a menu item in the main menu to open an external link in lightbox. I can use the Menu link option for this, however, using ?iframe after the URL does not work. It opens the URL, however, not in lightbox.

    How can I get the external link to open in lightbox?

    Regards,

    Lars

    #342399

    And also, how can I change the lightbox width and high in the menu item?

    #343558

    Hi!

    Personally I have no experience with it, but I think you can try this plugin:
    https://wordpress.org/plugins/lightbox-plus/

    In the plugin’s description it says:

    Add a rel=”lightbox[uniqueID|filename]” attribute to any link tag to activate the lightbox, include a name between square brackets in the rel attribute. For example:

    <a href="images/image-1.jpg" rel="lightbox[uniqueID|filename]" title="my caption">image #1</a>

    Cheers!
    Andy

    • This reply was modified 10 years ago by Andy.
    #343909

    Ok, thanks!

    BR
    Lars

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Main menu link open iframe in lightbox’ is closed to new replies.