WordPress.org

Ready to get started?Download WordPress

Forums

Easy FancyBox
[resolved] Cannot control inline content window size (4 posts)

  1. kingweezerdude
    Member
    Posted 3 months ago #

    Love this plugin, thanks for making and supporting it.

    For the first time I am using inline content in an iframe and I have 2 questions:
    1) I can't seem to control the window size...it keeps defaulting so something big. Here is my code:
    <div style="display:none" class="fancybox-hidden"><div id="fancyboxID-1" class="hentry" style="width:250px;height:150px;">
    If you are unable to get an accurate measurement, just enter 30 and we will be sure to measure it when we get started. The actual number will change your total bill accordingly.
    </div></div>
    Unable to determine linear feet?

    2) The top of the iframe hides underneath my header bar.
    my test page is http://www.cloud9windows.com/test, check the 'clean out gutters' box and select 'unable to determine linear feet'

    Thanks!

    https://wordpress.org/plugins/easy-fancybox/

  2. RavanH
    Member
    Plugin Author

    Posted 3 months ago #

    1) Your code seems correct and should normally work fine. There is probably another stylesheet rule or another script that conflicts. Can you share a link to a page where it is not working as it should?

    2) In your themes stylesheet there is a rule:

    #main-header {
    ...
    z-index: 99999;
    ...
    }

    If you remove one 9 from that z-index, then the header will show below the lightbox.

  3. kingweezerdude
    Member
    Posted 3 months ago #

    So fast!

    1) Go to http://www.cloud9windows.com/test, check the 'clean out gutters' box and select 'unable to determine linear feet'
    2) Worked...awesomeness. I don't know how you know that stuff!

  4. kingweezerdude
    Member
    Posted 3 months ago #

    I figured it out....I had a custom CSS height/width set for fancyboxID-1. I just renamed it to fancyboxID-2 and all is well!

    Thanks!

Reply

You must log in to post.

About this Plugin

About this Topic