Support » Plugin: Easy FancyBox - WordPress Lightbox Plugin » Cannot control inline content window size

  • Resolved kingweezerdude

    (@kingweezerdude)


    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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    Thread Starter kingweezerdude

    (@kingweezerdude)

    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!

    Thread Starter kingweezerdude

    (@kingweezerdude)

    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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot control inline content window size’ is closed to new replies.