Inactive blog. If you need anything, contact me : lloydalemania@gmail.com Hire me

Pure CSS Pop Up Email Subscription Box For Blogger

I got a request from Anmoldeep Singh, he wanted my previous post - Fresh Flat Email Subscription Box to be in pop up form similar to what I implemented on my previous theme.

Introduction

Yes, as the title suggests it is a PURELY CSSed Pop up email subscription box not only for Blogger but for almost all types of platform as long as you have access to feedburner. This widget is a combination of my previous post email subscription box and a simple and cool pop up widget built with CSS. Make sure to follow the steps to get it working!

External Scripts

FontAwesome (?)

Live Demo

Demo

HTML

Go to Blogger » Template » Backup your Template » and Edit HTML
Add the following code before </body>
<div class='modalDialog' id='signup'>
<div><a class='close' href='#close' title='Close'><i class='fa fa-times'/></a>
<div class='signup-container'>
<div class='newsletter-sm'>
<i class='fa fa-envelope-o enve'/>
<h3>Subscribe to Newsletter</h3>
<p style='text-align:center'>Sign up with your email address to receive news and updates straight in your inbox.</p>
<form action='https://feedburner.google.com/fb/a/mailverify' method='post' onsubmit='window.open(&apos;https://feedburner.google.com/fb/a/mailverify?uri=MyBloggerAide&apos;, &apos;popupwindow&apos;, &apos;scrollbars=yes,width=550,height=520&apos;);return true' target='popupwindow'>
<div class='newsletter-sm-bot'>
<input class='newsletter-input-sm' name='email' placeholder='Enter Your Email' type='text'/>
<button class='newsletter-button-sm' type='submit'>Subscribe</button></div>
<input name='uri' type='hidden' value='MyBloggerAide'/>
</form></div></div></div></div>
For this widget to work you need to add a link that will serve as the button or handler for the popup.
Add the following code anywhere you want it to be displayed.
e.g. inside your nav menu
<a href='#signup'>Signup</a>

CSS

Copy and paste the code before ]]></b:skin>
.enve{background:#00aa9f;color:#fff;width:50px;height:50px;display:block!important;line-height:50px!important;text-align:center;font-size:24px!important;-webkit-border-radius:50px;-moz-border-radius:50px;border-radius:50px;margin:0 auto}.newsletter-sm{background:#fff;width:100%;margin:0;padding:20px;box-sizing: border-box;}.newsletter-sm h3,.newsletter-sm p{color:#555;font-family:"Maven Pro",sans-serif}.newsletter-sm h3{font-weight:400;text-align:center;margin-bottom:10px;font-size:24px}.newsletter-sm p{font-size:14px;line-height:20px}.newsletter-sm .newsletter-input-sm{border:0;box-sizing: border-box;padding:5px 10px;width:360px;float:left;height:40px;color:#555;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px}.newsletter-sm .newsletter-sm-bot{background:#00aa9f url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjt9o7GrhYOgjxQr_dYRCfCwOLqMUVhJirr7o6iOdWyhXfzMGgwr4Z1XIj1sBfImjlTZk-kO3JWCwtSP_EnLZSYdUZ_6vlC4MpyTxs0NiV-AWKwHXIbsS7A493pi2N61OnR-wT0ZvKfdKU/s1600/bg.png) no-repeat;box-sizing: border-box;padding:20px;margin:0 -20px -20px;height:80px}.newsletter-sm .newsletter-button-sm{float:right;height:40px;display:inline-block;font-size:14px;box-sizing: border-box;padding:5px 10px;position:relative;color:#fff;text-align:center;background:#00aa9f;border:1px solid #fff;cursor:pointer;border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px}.modalDialog{position:fixed;font-family:Arial,Helvetica,sans-serif;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.6);z-index:99999;opacity:0;-webkit-transition:opacity 200ms ease-in;-moz-transition:opacity 200ms ease-in;transition:opacity 200ms ease-in;pointer-events:none}.modalDialog:target{opacity:1;pointer-events:auto}.modalDialog:target>div{margin:8% auto}.modalDialog>div{-webkit-transition:all 100ms ease-in;-moz-transition:all 100ms ease-in;transition:all 100ms ease-in;width:500px;position:relative;margin:5% auto;background:#fff;min-height:200px}h2.signup{background:#00aa9f;border-bottom:1px solid #008d84;font-weight:400;text-align:center;box-sizing: border-box;padding:10px;color:#fff;font-size:18px}.close{color:#888;position:absolute;top:1px;right:1px;width:30px;height:30px;line-height:30px;text-align:center;font-size:16px}.close:hover{text-decoration:none;color:#555}
Save your Template

Final Words

Replace MyBloggerAide with your feedburner url.

Do some adjustments to fit your need.
And voila! I hope you guys like it! Until next time. Happy Blogging! :)

33 comments

  1. Nice work. Thanks for posting such a nice widget.

    ReplyDelete
    Replies
    1. I'm glad that there are bloggers appreciating my work, Thank you! :)

      Delete
  2. I am just loving it greta job dude :)
    thank you :)

    ReplyDelete
  3. Can we change the white background with image background and how? thanks

    ReplyDelete
    Replies
    1. Hi friend! Yes of course! Change
      .newsletter-sm {background:#fff; width: 100%; margin: 0; padding: 20px;}
      to
      .newsletter-sm {background:url(URL-OF-THE-IMAGE); width: 100%; margin: 0; padding: 20px;}

      Delete
  4. Hey! Awesome! But without the use of buttons how do i make it automatically popped up after 15s on my webite. Please help me on that.

    ReplyDelete
    Replies
    1. Well I can add some jquery or even javascript for it to work the way you want, I'm gonna contact you once its done. Thank you for commenting :D

      Delete
    2. Oh! Thank you so much. My pleasure. And please do keep in mind would be disturbing you for a while from now. I have been looking for someone too awesome in this thing.!! :D And you are damn passionated!.

      Delete
    3. Oh! Thank you so much. My pleasure. And please do keep in mind would be disturbing you for a while from now. I have been looking for someone too awesome in this thing.!! :D And you are damn passionated!.

      Delete
    4. I'm the one who should be thanking you, it's been a while since I did something related to blogger and I haven't received any requests for awhile, so thank you! I will post the tutorial tomorrow since it's already late at night.. hehe sorry for late reply xD

      Delete
    5. as promised, here's the link of the tutorial :
      http://mybloggeraide.blogspot.com/p/forum.html?place=msg%2Fmybloggeraide%2FBzNKE5AZn5U%2FT9kabwCW9W4J

      let me know if there's any problem, thanks! :)

      Delete
  5. Bro, Code works. But :/ ! I cant edit them. In the sense, I tried changing that "Subscribe to Newsletter" to "Subscribe to JP's Newsletter" and did some edits for the texts below too. BUT AS A MATTER OF FACT, NOTHING CHANGED! :(

    ReplyDelete
    Replies
    1. I think you have copied the code twice? If not, kindly provide me a link to your website so I can help you further. :)

      Delete
    2. Hey bro! I have left you a message on google hangouts. The website shares some confidential stuffs. So can we get in touch personally?

      Delete
  6. Hey ! Please , How Can I Rotate the background img ?! I couldn't find a Code .

    Need Help Please !

    ReplyDelete
  7. Hey ! Please , How Can I Rotate the background img ?! I couldn't find a Code .
    Need Help Please !

    ReplyDelete
  8. I am Using the Arabic language in my blog so I must change everything from left to right !

    ReplyDelete
    Replies
    1. Hi! The simplest way to fix your problem is to SAVE the background image (bg.png) then open it using Paint, then look for the ROTATE menu then select FLIP HORIZONTAL. then change the url of the background with the new one, that's it!

      Delete
    2. Using CSS, first, remove the following line :

      url(http://4.bp.blogspot.com/-0mBblowuHEI/VKnxGxyRmUI/AAAAAAAAHiU/ewwqQBE8VE0/s1600/bg.png) no-repeat

      then add this code :

      .newsletter-sm .newsletter-sm-bot:before{-webkit-transform: rotateY(180deg);
      -moz-transform: rotateY(180deg);
      -o-transform: rotateY(180deg);
      transform: rotateY(180deg);
      background:url(http://4.bp.blogspot.com/-0mBblowuHEI/VKnxGxyRmUI/AAAAAAAAHiU/ewwqQBE8VE0/s1600/bg.png) no-repeat;
      position: absolute;
      top: 0;
      left: 0;
      display: block;
      height: 100%;
      width: 100%;
      content: "";
      }

      save it and you're done! :)

      Delete
  9. wow....these widgets are like 10x the popular ones on google....m installing em!!! i wish you can share that step-1-2-3 widget that is too pretty! Thanks again.

    ReplyDelete
    Replies
    1. I'm glad u like it, but sad to say that the step-1-2-3 widget is a bit complicated and needs modification when it comes on mobile. But I'll do my best to make that possible in the coming days.. keep visiting ! :)

      Delete
  10. Replies
    1. sim, a demo não está funcionando no entanto esta ferramenta funciona perfeitamente. -google translate

      Delete
  11. Thanks for this wonderful post Lloyd Alemania you are my web hero i like your coding and i also like the fact that you love and respect all your visitors keep up the good works try add a donate button to your site so we can donate for your works besides please irrespective of this post i want to ask is there any way you can help design the pop up button { Signup } so the user can easily see it like adding some css style to it to beautify the view please if there is any way i will be glad you share it with me God bless you i will always check back on there post to see your comment

    ReplyDelete
    Replies
    1. hi there bud, the button will greatly depend on where you'll place it, in my case, i placed it on my nav menu. i can lend you a hand, send me a link of your site and tell me where you'd want it to be placed :)

      Delete
  12. Is this possible to make it appear of it's own to every visitor, but not on every page load ?

    ReplyDelete
    Replies
    1. Yes it is possible through the use of jquery.. If you'd like to I will post it this evening. GMT +8. Keep in touch. Thanks

      Delete
  13. Thanks to google for making me reconnect to you once again. xP

    ReplyDelete
  14. wow this was amazing widget
    but unfortunately this is not working on my blog
    http://www.tips4tricx.blogspot.com

    ReplyDelete
    Replies
    1. follow the steps properly, it is Pure CSS so it should be working for you. if it still doesn't work then contact us or reply on this thread.

      Delete
  15. nice widget.applied this at my blog | USBlogZone
    thanks dude

    ReplyDelete
  16. Thanks,
    Have A Nice Widget,I used my Blog.
    Lets Checked - https://mytrickstips12.blogspot.in

    ReplyDelete

[default]

mba-1

[enabled]

521946774841758

Mailing List

Sign up with your email address to receive news and updates straight in your inbox.