Title: Cannot control inline content window size
Last modified: August 21, 2016

---

# Cannot control inline content window size

 *  Resolved [kingweezerdude](https://wordpress.org/support/users/kingweezerdude/)
 * (@kingweezerdude)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/cannot-control-inline-content-window-size/)
 * 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?](https://wordpress.org/support/topic/cannot-control-inline-content-window-size/?output_format=md#fancyboxID-1)
 * 2) The top of the iframe hides underneath my header bar.
    my test page is [http://www.cloud9windows.com/test](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/](https://wordpress.org/plugins/easy-fancybox/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Rolf Allard van Hagen](https://wordpress.org/support/users/ravanh/)
 * (@ravanh)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/cannot-control-inline-content-window-size/#post-4859681)
 * 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](https://wordpress.org/support/users/kingweezerdude/)
 * (@kingweezerdude)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/cannot-control-inline-content-window-size/#post-4859682)
 * So fast!
 * 1) Go to [http://www.cloud9windows.com/test](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](https://wordpress.org/support/users/kingweezerdude/)
 * (@kingweezerdude)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/cannot-control-inline-content-window-size/#post-4859683)
 * 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.

 * ![](https://ps.w.org/easy-fancybox/assets/icon-256x256.png?rev=3188201)
 * [Firelight Lightbox](https://wordpress.org/plugins/easy-fancybox/)
 * [Support Threads](https://wordpress.org/support/plugin/easy-fancybox/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-fancybox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-fancybox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-fancybox/reviews/)

## Tags

 * [header](https://wordpress.org/support/topic-tag/header/)
 * [Inline content](https://wordpress.org/support/topic-tag/inline-content/)
 * [window size](https://wordpress.org/support/topic-tag/window-size/)

 * 3 replies
 * 2 participants
 * Last reply from: [kingweezerdude](https://wordpress.org/support/users/kingweezerdude/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/cannot-control-inline-content-window-size/#post-4859683)
 * Status: resolved