Setup pop-up with any button or link

Below steps describe how to set pop-up with any link or button.

  • Below example code is pop-up basic structure code just copy code and add it at the end of page.

  • Apply unique ID on pop-up block. Above code using id=”popup-unique-id”.
  • Now copy below button link example where pop-up set on button.

  • Apply pop-up id as href value href=”#popup-unique-id”
  • Apply CSS class set-popup, This class is important to set trigger event on button to open pop-up.

 

 

Related Articles