Support » Plugins » [FancyBox] Remove scroll bars from lightbox only

  • ycon

    (@ycon)


    Hi,

    I’m using the Easy Fancybox on WP.

    iFrames didn’t scroll on iOS, so I inputed this code to get scrolling working:

    PHP Code:
    #fancybox-content {
    overflow: scroll !important;
    -webkit-overflow-scrolling: touch !important;
    }
    However, it has now applied scroll bars to all my Fancybox content which looks ugly. I tried writing “#fancybox-iframe” at the beginning but it failed all together. I also tried change “!important” to “hidden” but it also failed.

    Here’s my site if it helps LINK

    Can I enable scroll bars only for iFrames or touch devices?

    Thanks

  • The topic ‘[FancyBox] Remove scroll bars from lightbox only’ is closed to new replies.