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


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 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.


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?

Locate css selector
(1 viewing) (1) Guest
"ARI Fancy Lightbox" WordPress plugin
Go to bottomPage: 1
TOPIC: Locate css selector
#70453
Locate css selector 1 Year, 10 Months ago Karma: 0
Hello,
On this page: cutt.ly/t38nNMV
Can you help me locate the right css selector to use in the Custom grouping selectors field in plugin settings?

Thank you
The administrator has disabled public write access.
 
#70468
Re:Locate css selector 1 Year, 10 Months ago Karma: 760
Hello,

It is not possible attach the lightbox via custom selectors because the slider is building dynamically. You can try to add the following JS code to "ARI Fancy Lightbox -> Settings -> Advanced -> Custom JS code" parameter:

Code:


    setTimeout(function() {
      $('.slider').each(function(el, idx) {
        var $slider = $(this);
        var group = 'fancy-' + idx;
        var $items = $('figure:not(.slick-cloned)', $slider);

        $items.each(function() {
          var $item = $(this);
          var src = $item.find('img').data('src');
          $item.attr('data-src', src);
          $item.attr('data-fancybox', group);
        });

        $($items).fancybox();
      });
    }, 10);



Regards,
ARI Soft
The administrator has disabled public write access.
 
#70470
Re:Locate css selector 1 Year, 10 Months ago Karma: 0
Great! That worked! Thank you very much!
How can i have the thumbnails show by default ie without clicking the thumbnails icon on top right?
The administrator has disabled public write access.
 
#70471
Re:Locate css selector 1 Year, 10 Months ago Karma: 760
Read this post please.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#70472
Re:Locate css selector 1 Year, 10 Months ago Karma: 0
Thank you for the amazing support!
The administrator has disabled public write access.
 
Go to topPage: 1