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?

Using lightbox with theme gallery setting
(1 viewing) (1) Guest
"ARI Fancy Lightbox" WordPress plugin
Go to bottomPage: 12
TOPIC: Using lightbox with theme gallery setting
#63332
Using lightbox with theme gallery setting 5 Years, 10 Months ago Karma: 0
Hello! First off, I really like the plugin a lot. I'm currently trying to get the plugin to work with my gallery setting on my theme. I use Virtue Theme from Kadence themes, and it appears to modify the normal gallery coding. I like how the setting allows me freedom to change the look of the gallery, but it must change something that the plugin looks for. I tried using a custom selector (finding the ids of each gallery with a wildcard), and it works, but that cannot differentiate between multiple galleries dynamically, meaning I would have to list each specific selector for each gallery I want to use the lightbox for. At least I think that's how it works.

That being said, my theme allows me to add my own IDs and classes to each gallery modified by the theme. Is there an ID or class that I could add that would tell the ARI Lighbox to do its magic with it?
The administrator has disabled public write access.
 
#63333
Re:Using lightbox with theme gallery setting 5 Years, 10 Months ago Karma: 0
UPDATE: I stole a code from another post regarding other gallery plugins, and made this custom selector:

Code:

.kad-light-wp-gallery$$a


This does group each individual instance of their modified galleries correctly!

That being said... is there still an ID or class that I can attribute to elements that will allow me to activate the ARI Fancy Lightbox individually rather than affecting them all? I'm thinking more about if I want to use the lightbox for only specific galleries.
The administrator has disabled public write access.
 
#63334
Re:Using lightbox with theme gallery setting 5 Years, 10 Months ago Karma: 748
Hello,

Could you provide a link to a sample page and specify what item(s) you want to open into the lightbox and how them should be grouped?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#63335
Re:Using lightbox with theme gallery setting 5 Years, 10 Months ago Karma: 0
www.pedrokaawaloa.com/test/

Right now, I'm using the custom selector to grab the galleries that my theme (Virtue by Kadence) created. What CSS ID or class can I add to my page's code to activate the plugin on only one of them if I so choose? I saw in another post that
Code:

ari-fancybox
might work, but it doesn't.
The administrator has disabled public write access.
 
#63336
Re:Using lightbox with theme gallery setting 5 Years, 10 Months ago Karma: 0
Also, I now know that the custom selector ".kad-light-wp-gallery a" groups ALL photos from ALL the galleries together, but ".kad-light-wp-gallery$$a" separates the photos into each gallery. I found that fix here, but can you perhaps tell me why? I want to make sure I understand the code.
The administrator has disabled public write access.
 
#63337
Re:Using lightbox with theme gallery setting 5 Years, 10 Months ago Karma: 0
I suppose I'm basically asking what the double dollar sign does in that code?
The administrator has disabled public write access.
 
Go to topPage: 12