By default, MyListing allows you to choose a page (Theme Tools > Theme Options > Header > Show Call to Action Button > Call to Action Links to Page) that the CTA button links to.
This code snippet allows you to link to an Elementor Popup.
- Create/Edit an Elementor Popup
- Popup Settings > Advanced Tab > Open By Selector > Enter a[href=”#addlisting”]
- Display Conditions > Conditions > Include > Entire Site
- Save changes.
- Add the code snippet below to your website.
JavaScript
jQuery('.header-right .header-button a.buttons').attr({
'href':'#addlisting',
});