Okay
  Public Ticket #1372685
Popup triggers
Closed

Comments

  • Vincent Lehmann started the conversation

    Hi I created a popup slide id 

    [layerslider id="45"]

    I would like to trigger this popup from outside the slider. I want to use a button made in elementor. How can I link the popup to the button and vice versa..? I hope you can help me.. :)


    Tom

  • Vincent Lehmann replied

    I know its a very basic question.. I have read all I can find and still no clue. I get that I put class id like "#popupmenu" in field open by click. In the elementor button I input popupmenu under class id, but i think maybe i need to put something in custom css in elementor. Or maybe there is an easier way. Can I somehow make the popup have an url instead? then it would be easy to just put that into the buttons link area.. I do hope you will forgive the lack of knowlegde her.. :)

  • [deleted] replied

    Hello Tom,

    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 the a slider from your site, you will need to apply an ID (id="example") or class (class="example") on that external element and enter the same selector for ID (#example) or class (.example) to the Open By Click field in the Slider Settings. I'm not familiar with "elementor", but if it provides a dedicated option to apply ID or class on it, that should be fine as well.

    You will also need to make sure that the sliders that you want to use (the popups as well) are added to the page, otherwise they won't load. 

    We can also take a look if you show us your site or a test page with this.

  • Vincent Lehmann replied

    Hello Atilla, thanks for responding.. See the problem is that I already read that comment or explanation a few other places.. i just still dont understand how.. i put #popupmenu under order by click how do i link it on the button.. I can create a login for you? test page is called http://dental-rejse.dk/patient-rukiye/

    I hope this is possible to fix.. :)

  • Vincent Lehmann replied

    ok i think i solved it partly.. check test page http:dental-rejse.dk/patient-rukiye/ 

    Problems that remain:

    1. popup trigger doesnt look clickable.. its the hamburger image

    2. popup should be able to open and close as many times as you click it. If you open it again you cant close it


    pls help.. :) :)

    Tom

  • [deleted] replied

    Thank you for the feedback. My colleagues and I will look into this to see if we can find anything, and get back to you shortly.

  • [deleted] replied

    1. You will need to copy the following CSS code: #popupmenu { cursor:pointer; } to wherever your theme provides a custom CSS field. So not into the slider, but into your theme.

    2. We've tried it, but it opens multiple times for us, not just once.