Okay
  Public Ticket #1548027
POP UP
Closed

Comments

  • wetisalat started the conversation

    Hello 

    Can you tell me how can I make a button with popup ?

    Like that https://layerslider.kreaturamedia.com/features/popups/

    I need to make a button and when we press it a pop up will open.


    Thanks

  •  109
    George replied

    Hello wetisalat,

    You can find the relevant option under Slider Settings -> Popup -> Open by click. This field requires entering a CSS/jQuery selector, which are standards and you can find many online assets by searching the web. Here is a simple example:

    You need to specify an ID or class attribute on the button or element that should open the popup. Most plugins and WP itself allows settings custom attributes, but they might be in a hidden submenu.

    Enter a unique and alphanumeric value like “my-popup-1” and substitute any spaces with a dash or underscore.

    Once this is done, open the popup slider and enter the same value for the Open by click field. If you’ve used an ID, make sure to include a hash tag at the beginning, or use a dot in case of a class name. So it will be either #my-popup-1 or .my-popup-1.

    Best Regards,
    George | Kreatura Dev Team