WordPress.org

Ready to get started?Download WordPress

Forums

FancyBox for WordPress
Fancybox iframe sizes (2 posts)

  1. Alex Mansfield
    Member
    Posted 3 years ago #

    It appears that the Fancybox for WordPress plugin doesn't support the use of percentages when specifying a size to display an iframe. Percentages must be enclosed with single quotes, but the plugin fails to add them. I tried adding them from within the plugin options, but the input field limits the number of characters, making it impossible to add both single quotes.

  2. Alex Mansfield
    Member
    Posted 3 years ago #

    After further research, it appears that by adding single quotes, fancybox treats the number as a percentage without the need to use the percent sign. This should mean that a percentage could be used as long as the percent sign was left out. I didn't test this though.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic