How to add modal popup using rmtheme

This is a div section and should be linked here.

This is an example page. It’s different from a blog post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that introduces them to potential site visitors. It might say something like this:

Instruction:
Here two thing, one is click button and another is popup content.

In click button, we need to add a class say “popup-modal” and href is #ID-OF-POPUP-SECTION

and in popup section, we need to add ID and 2 classes. classes are “rmtheme-popup mfp-hide” and inside popup data we can add close button or something like above. but close button must have class say “popup-modal-dismiss”

Note: For popup working, we need need to enable “Magnific Popup Script” from theme option or page edit panel.