Easy FancyBox
Resize fancybox iframe (2 posts)

  1. kg87
    Posted 3 years ago #

    How do you resize the fancybox showing web pages or HTML files?


  2. RavanH
    Plugin Author

    Posted 3 years ago #

    Hi, there is an option to set the size for iframe content on your Settgins > Media admin page.

    If you have different links to iframe content that need different sizes, you can use metadata to pass the alternative size like this example:

    <a hre="..." class"fancybox-iframe {width:400px,height:500px}">...</a>

    Sadly, this method will not work when you have multiple links like that on the same page. All links will get the same size as set in the first link on that page...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic