Mailer lite form show on click event

Posted in: Newspaper
Post count: 7

Hey there,

I wanted to add the newsletter form that opens a pop up if you click on a link or button, that Mailer lite offers.

Mailer lite gives me this code (after I inserted the JavaScript):
<button class="ml-onclick-form" onclick="ml('show', 'QWgyyH', true)">Click here to show form</button>

If I insert this in an inline text or html shortcode inside the tagDiv Composer it will show a simple not styled button (that works great when I click on it).

My question is, is there a way to style this (I suppose) default WordPress button?

Or, even better, to use this code in some way with the button shortcode in the tagDiv Composer, to style the button and make it look like a Call To Action button?

Thank you!
Dominik

Post count: 35449

Hi sunnymind, you can make a test using the tagDiv Newsletter plugin -> https://forum.tagdiv.com/the-newsletter-plugin/
In case that this is not working, I can do a css for you, just let me know how you’ll like the button to look.
Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.