Okay
  Public Ticket #2179309
Layer Slider popup "open by click" jquery
Closed

Comments

  • Sabina Batelman started the conversation

    Hello, 

    I'm using the Avada Theme "Portfolio" element and want to launch the LayerSlider popup that I created when a user clicks on one of the images in the gallery. I want the popup to overlay the portfolio gallery. Right now, the "Portfolio" element is programmed to open a separate page. I'm not sure what code I can put in the "Open by click" jquery to make the LayerSlider pop happen instead. 

    Please advise.

    Thank you!

  • [deleted] replied

    Hello Sabina,

    Thank you for getting in touch with us. My name is Attila and I'm happy to assist you today. I appreciate your patience while we've been working towards your ticket.

    In case you want to start a popup slider with an element outside of a slider from your site, you will need to apply an ID (id="example") or class (class="example") on that element (in your case image) and enter the same selector for ID (#example) or class (.example) to the Open By Click field in the Slider Settings. The theme builder should provide an option where you can add an attribute to your images.

    Please also make sure that the sliders that you want to use (the popups as well) are all added to the page. You can also use the Slider Settings -> Popup -> Target Pages section for this purpose.

  • Sabina Batelman replied

    Hi Attila,

    Thank you for your response. It worked! Assigning the target page was the missing link for me. I put in the jquery but it didn't work. I didn't realize I had to assign a target page and that's what did it. 

    Thanks again!

    Sabina

  • [deleted] replied

    Thank you for the feedback, glad you could solve the problem. If you need further assistance please let us know.