Error #gk-newsletter-popup-close

GK User
Thu Dec 31, 2015 3:59 am
Hey there,

When the newsletter optin appears and want to close it, no action is taken, the X midominio.com/# mark on the bottom left

http://bit.ly/1QZXlDe

How I can fix and what to close it no longer appears?

He is scheduled to appear each 100px ..
User avatar
Junior Boarder

GK User
Thu Dec 31, 2015 8:27 am
Hi,

What newsletter plugin are you using? This form was created for the MailPoet, so if you are using another newsletter form, probably some modifications will be required.
User avatar
Moderator

GK User
Tue Jan 05, 2016 2:10 am
I used a text widget to add the html code getresponse.

How I can add a contact form of getresponse, in the widget area newsletter?

Thanks!
User avatar
Junior Boarder

GK User
Tue Jan 05, 2016 10:17 am
Try to edit your Theme/js/functions.js file and change this line:
Code: Select all
var newsletter_submit = jQuery('.wysija-submit');

into:
Code: Select all
var newsletter_submit = jQuery('.webform-wrapper');
User avatar
Moderator

GK User
Tue Jan 05, 2016 10:04 pm
Make the change, but remains the same.
no popup when clicking on the X closes...
User avatar
Junior Boarder

GK User
Wed Jan 06, 2016 11:07 pm
Could you please provide me with a backend and FTP access via PM (click the “Private Message” text underneath my avatar) so that I may analyze it?
User avatar
Moderator

GK User
Fri Jan 08, 2016 12:49 pm
Now should be ok, I've changed this part of code to:
Code: Select all
// Newsletter popup
    var newsletter_submit = jQuery('.wf2-embedded button');
   
   
        newsletter_submit.click(function() {
            gkCookie('gk-newsletter-popup', 1, { expires: 30, path: '/' });
        });
       
        jQuery('#gk-newsletter-popup-close').click(function(e) {
            e.preventDefault();
           
            gkCookie('gk-newsletter-popup', 1, { expires: 30, path: '/' });
            jQuery('#gk-newsletter-popup').addClass('hidden-popup');
        });
User avatar
Moderator


cron