Activate only for GoGallery
-
I’m using gogallery plugin on some pages of my site. I need to replace the GoGallery lightbox only in those pages. Instead I need to leave the standard lightbox for the other pages. How can I activate it only for GoGallery galleries?
<div class="go-gallery-list-wrapper"><ul class="go-gallery-list" style="margin: 5px; position: relative; height: 8661.83px;"><li data-source="https://******/wp-content/uploads/***************.jpg" title="*****************" desc="*********" class="go-gallery-item tag-format tag-format-self-service" style="position: absolute; left: 0px; top: 0px;"><a class="image-wrap" href="https://*********************.jpg" title=""><figure class="effect-basic-up"><noscript><img width="1024" height="768" src="https://**************************.jpg" class="attachment-large size-large" alt="******************" /></noscript><img src="https://***********************************.jpg" data-src="https://**********************.jpg" class="attachment-large size-large ls-is-cached lazyloaded" alt="******************" width="1024" height="768"><figcaption><h2>************</h2><p>***************</p></figcaption></figure></a></li></ul>
This is the html of the gallery with the first photo… then in the ul there are all the others… I’ve tryed inserting css selector but seems not to work..
- The topic ‘Activate only for GoGallery’ is closed to new replies.