New Landing How can we help? Atelier Newsletter/Subscribe Bar with Mailchimp javascript.

Viewing 11 posts - 1 through 11 (of 11 total)
  • Posted in: Atelier
  • #259869
    buckycore
    Member
    Post count: 30

    I don’t know if this out side the scope of Support, but I might as well ask. I’m using Mailchimp embedded short code with the Newsletter/Subscribe Bar. So far so good, but I want to have the UX pattern of having the input fields replaced with the jquery standard “thank you and check your inbox” after they’ve subscribed. I see that Mailchip provides a line of Javascript which provides at least the message portion. That’s fine for now. However It places the message at the bottom of the inputs and it’s not visible in your bar.

    I put the JS line in the short code area of the newletter bar. I tried putting it in the custom JS area, but that didn’t work. If you have any recomended resource I can look at, that’s great. I’m experienced (as I’m actually a .NET developer) yet cautious, as I know themes and WordPress aren’t like building things from scratch. . If it’s a matter of some simple CSS modification, that’s fine too.

    I’m providing the Mailchip code, and feel free to submit emails to my list: It’s a dummy one for testing which i’ll delete anything you submit right away.

    *Mail chimp JS*
    <script type=’text/javascript’ src=’//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js’></script><script type=’text/javascript’>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]=’EMAIL’;ftypes[0]=’email’;fnames[1]=’FNAME’;ftypes[1]=’text’;fnames[2]=’LNAME’;ftypes[2]=’text’;}(jQuery));var $mcj = jQuery.noConflict(true);</script>

    #259906
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Try this custom css. Add it to the custom css option in the theme options.

    #sf-newsletter-bar #mce-responses{
        display: block;
        position: absolute;
        top: -50px;
        width: 70%;
    }

    You can add additional css rules to it. It looks like this
    https://www.dropbox.com/s/7u7rxcnkhjkxp7x/Screenshot%202016-04-06%2014.43.20.png?dl=0

    Hope it helps.

    -Rui

    #260013
    buckycore
    Member
    Post count: 30

    Thank you so much! I’ll try this in a bit and get back to you

    #260047
    buckycore
    Member
    Post count: 30

    It works sometimes, but other times it doesn’t. I was using a test page just to play with formatting, but something is wrong now. It doesn’t show up. I did a hard refresh as well.

    Here’s the test page just to show you in contrast to the subscription bar.

    http://featheredoutlaw.com/test/

    #260053
    buckycore
    Member
    Post count: 30

    Sorry, I removed that test page just to see if having divs with the same ids was causing any problems.

    #260091
    buckycore
    Member
    Post count: 30

    Last one. I figured it out. The message divs had inline styles with display set to none. I removed that in my test page, but saw it was still there in the subscription bar short code. All is working fine now.

    #260101
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I am glad that you managed to resolve the issue.
    Thanks
    Mohammad

    #275465
    adriboixet
    Member
    Post count: 41

    Hi buckycore, I’m trying to do the same, how to display the message in the newsletter bar?

    Thanks!!

    #275484
    David Martin – Support
    Moderator
    Post count: 20834
    #295850
    nordicmuse
    Member
    Post count: 2

    Good Evening,

    I have set up a mailchimp account and I now have a signup form URL for my newsletter. How do I update this?

    Thanks

    Jenny

    #296191
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Check here the documentation. you need to change the url on the form by your mailchimp url.

    http://www.swiftideas.com/knowledgebase/replicate-the-newsletter-bar-form/

    -Rui

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register