Title: Height is not fitting
Last modified: February 23, 2021

---

# Height is not fitting

 *  Resolved [Greendroid](https://wordpress.org/support/users/greendroid/)
 * (@greendroid)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/height-is-not-fitting/)
 * Hi,
    thanks for the great plugin. It is working perfectly fine and is really 
   improving the quality of our site. One thing: The “Auto”-Heigth of the Flipbook
   is not fitting properly to our site. We have a theme which consists of a Header
   which is always visible. It seems, that the flipbooks is not taking this into
   account in the heigth-calculation. I always have to scroll a little bit to see
   the upper part of the PDF and then again to see the bottom part of the PDF. Is
   there anything which I can do to “substract a specific part” from the automatic
   calculation? It seems, that the PDF size is exactly matching the available space
   which is then very hard to get with the vertical scrollbar. The control buttons
   are below the PDF, so for them you have to scroll always. I would like to have
   the complete flipbook “box” (including the background for example) fitting to
   the available space. Thanks and kind regards Greendroid
    -  This topic was modified 5 years, 4 months ago by [Greendroid](https://wordpress.org/support/users/greendroid/).
      Reason: Added some details
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fheight-is-not-fitting%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Deepak Ghimire](https://wordpress.org/support/users/deip/)
 * (@deip)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/height-is-not-fitting/#post-14093388)
 * Hi,
 * Yes try this value:
    calc( 100vh – 80px)
 * in height. You can adjust that 80px to your liking.
 * Best Regards,
    Deip
 *  Thread Starter [Greendroid](https://wordpress.org/support/users/greendroid/)
 * (@greendroid)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/height-is-not-fitting/#post-14102385)
 * Hi,
    thanks for your fast response! Unfortunately this isn’t working. The book
   gets a heigth of 300px fixed and is not readable. I also tried without the spaces
   and with 100% instead of 100vh, but it doesn’t help. Is there anything which 
   I am missing? I just enter this heigth into the box “Container Height” right?
 * Thanks and kind regards
    Greendroid
 *  Plugin Author [Deepak Ghimire](https://wordpress.org/support/users/deip/)
 * (@deip)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/height-is-not-fitting/#post-14104164)
 * Hi,
 * The spaces in between are crucial. Please try this.
    `calc( 100vh - 80px )`
 * If it is now working. Leave the page as it is(or a duplicate page) and we will
   check the situation.
 * Best Regards,
    Deip
 *  Thread Starter [Greendroid](https://wordpress.org/support/users/greendroid/)
 * (@greendroid)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/height-is-not-fitting/#post-14106738)
 * Hi,
    thanks! Now it is working perfectly fine. Thanks! Kind regards Greendroid
 *  Plugin Author [Deepak Ghimire](https://wordpress.org/support/users/deip/)
 * (@deip)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/height-is-not-fitting/#post-14110198)
 * Hi [@greendroid](https://wordpress.org/support/users/greendroid/),
    Glad to know,
   it was helpful to you.
 * Have a good day 🙂
    Deip
 * P.S. If you find our support helpful and when you have free time, feel free to
   leave a review about our plugin [https://wordpress.org/support/plugin/3d-flipbook-dflip-lite/reviews/](https://wordpress.org/support/plugin/3d-flipbook-dflip-lite/reviews/)
   
   It would mean a lot to us 🙂

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

The topic ‘Height is not fitting’ is closed to new replies.

 * ![](https://ps.w.org/3d-flipbook-dflip-lite/assets/icon-128x128.gif?rev=3175518)
 * [DearFlip - PDF Flipbook, 3D Flipbook, PDF embed, PDF viewer](https://wordpress.org/plugins/3d-flipbook-dflip-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/3d-flipbook-dflip-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/3d-flipbook-dflip-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/3d-flipbook-dflip-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/3d-flipbook-dflip-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/3d-flipbook-dflip-lite/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Deepak Ghimire](https://wordpress.org/support/users/deip/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/height-is-not-fitting/#post-14110198)
 * Status: resolved