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?

how can i change the width and height of fancybox
(1 viewing) (1) Guest
"ARI Fancy Lightbox" WordPress plugin
Go to bottomPage: 12
TOPIC: how can i change the width and height of fancybox
#64154
Re:how can i change the width and height of fancybox 5 Years, 3 Months ago Karma: 746
Populate "Custom JS code" parameter on "ARI Fancy Lightbox -> Settings -> Advanced" page with the following code:

Code:


$(document).on('ari-fb-after-init', function() {
  $('[data-lightbox-type=youtube]').each(function() {
    $(this).attr('data-width', 600).attr('data-height', 200);
  });
});



Regards,
ARI Soft
The administrator has disabled public write access.
 
#64164
Re:how can i change the width and height of fancybox 5 Years, 3 Months ago Karma: 0
thank you
The administrator has disabled public write access.
 
Go to topPage: 12