WordPress.org

Ready to get started?Download WordPress

Forums

Easy FancyBox
Resize fancybox iframe (2 posts)

  1. kg87
    Member
    Posted 1 year ago #

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

    http://wordpress.org/extend/plugins/easy-fancybox/

  2. RavanH
    Member
    Plugin Author

    Posted 1 year 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