Forum Replies Created
-
AuthorPosts
-
Can you help me ? ;)
Hey,
Yes it works. Thanks for the reply ;)Great ! Thank you Ismael.
I defined the custom CSS to my gallery so that it’s not displayed on page load, ok. I added the script toggle in my functions.php but I need to define an ID to the div of buttons and galleries like that : How I can add an ID to buttons and Galleries ?
<div class="avia-button-wrap avia-button-left avia-builder-el-8 el_after_av_hr el_before_av_hr " id="galleryButton"> <a href=" my link" class="avia-button avia-icon_select-no avia-color-theme-color avia-size-large avia-position-left " target="_blank"> <span class="avia_iconbox_title">Text of my button</span> </a> </div>
So that my script will working great with ID :
$( "#galleryButton" ).click(function() { $( "#myGallery" ).toggle( "slow", function() { // Animation complete. }); });
Thank you by advance
Hi Victoria
I send you the mockup and the result I want in Private.
Thank you !Best regards
Hey Rikard,
I find a solution for removing the top header but I still need help for the button to the gallery that I ask in this topic.
Thank you by advance.
ManuHi Rikard.
I’ve tried your CSS but it doesn’t work. It’s not important I’m looking for an other solution. Thank you for your help.This reply has been marked as private.Hi Mike
A very very big THANK YOU !!!!!!!
It work very well and it’s exactly what I wanted.For now we want the function on all galleries on the website so it’s wonderful. If one day I want it only on some galleries o nsome pages I will re-activate this topic.
Keep the good job Mike and all the team of Kriesi.I’m reloading the topic.
Is anyone has an idea ? I’m searching on lighbox to docs, maybe edit a PHP function…Thank you by advance
Hi the team !
So, I tried all your pieces of advices and it work perfectly when the final customer can understand the JS. My customer don’t want to touch the JS code so I’m trying another solution :
I’ve made a regular Galleries for all sections. On each gallery I add the button pic like a first image so that it seem to be opened from a button.
Now I want that the gallery will open directly on the second image so that no one can see the pic of the button which is the first of the gallery. is it possible ?Thank you for your help.
I tried the code of Ismael :
https://kriesi.at/support/topic/triggering-lightbox-gallery-with-link/it’s work perfectly. for the first gallery but when you’ve got differents galleries on the page, it doesn’t work correctly. Do you have a solution ?
Thank you by advance
Hi Victoria,
Yes you are right, the link does open the first link of the gallery in the lightbox.
Thank you for your help
Best regardsHello Rikard,
It’s working great ! Thank you.
-
AuthorPosts