Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Making FancyBox Images Bigger
(1 viewing) (1) Guest
"ARI Fancy Lightbox" WordPress plugin
Go to bottomPage: 1
TOPIC: Making FancyBox Images Bigger
#72107
Making FancyBox Images Bigger 1 Month, 1 Week ago Karma: 0
I'm trying to make the image in lightbox bigger similar to **hidden**

Here's a preview that utilizes a little CSS to create:




Code:

.fancybox-image-wrap {
  width: 100% !important;
  height: 100% !important;
  transform: translate(0px, 0px) !important;
}

.fancybox-image {
  height: inherit;
  width: unset;
}





Unfortunately with this CSS clicking the image one cannot zoom in due to forcing the transform to 0px 0px. I attempted to create a jQuery version but it doesn't seem to apply:

Code:

$('.fancybox-image-wrap').attr('style', '.fancybox-image-wrap{width:100% !important;height:100% !important;transform:translate(0,0) !important;}');
$('.fancybox-image-wrap').click(function() {
    if ($('.fancybox-can-zoomIn').length != 0) {
        $('.fancybox-image-wrap').attr('style', '.fancybox-image-wrap{width:100% !important;height:100% !important;transform:translate(0,0) !important;}');
    }
})

Last Edit: 2024/07/27 02:48 By Josh.
The administrator has disabled public write access.
 
#72114
Re:Making FancyBox Images Bigger 1 Month, 1 Week ago Karma: 754
Hello,

If you use PRO version and want to remove top/bottom padding then add the following code to "Custom CSS" parameter on "ARI Fancy Lightbox -> Settings -> Style" page:

Code:


.fancybox-slide--image  {padding: 0 !important;}



Regards,
ARI Soft
The administrator has disabled public write access.
 
#72116
Re:Making FancyBox Images Bigger 1 Month ago Karma: 0
Your great support has convinced me to get the pro version. Appending your CSS worked beautifully. Thank you.
The administrator has disabled public write access.
 
Go to topPage: 1