Tuesday, October 18

How To Add Beautiful Subscribe Section to Blogger

Do you like to add a good looking subscribe section to your blog?

  1. Login to your blogger dashboard>>>layout>>>edit HTML
  2. Scroll down to where you see </head> tag .
  3. Copy below code and paste it just before the </head> tag 




<style type='text/css'>

#hsection{border:4px solid #D3D3D3;background-color:#e9e9e9;}
#hsection:hover{border:4px solid #BABABA;background-color:#e9e9e9;}

#sectionmy .sectionmy2 h2.subscription { border:0; margin:0; padding:6px 0 0 55px; height:42px; font-size:16px;font-family:&quot;Segoe UI&quot;,Calibri,&quot;Myriad Pro&quot;,Myriad,&quot;Trebuchet MS&quot;,Helvetica,Arial,sans-serif;
font-weight:bold; }

#sectionmy .sectionmy2 h2.rss { background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBJ7arCJKUZUX5TaBYr2dL87pvh1EEn9mHv65lVTKn02jkmWEJKqMEk7SinSicVMINBDscnDG2TbXQV2n4zVFKj9oXC8ouGs9gBHZWqjodDo3fGGvUIvgO_h6OgM2OpT0oomxiELtaDh9w/) no-repeat top left; }

#sectionmy .sectionmy2 h2.email { background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQgOWqsk9WVf2wqfykYbTyecidwGmHcLX03rRCOBCsMzswJt8Wl1p76x8HpD2Rba0P7EWjzVmJP-_OQcjHSd70HFGiINaW0Tr7nqDBCYYXV3oE-3B0ro9CfAoCIgdjKcu_hvMsqL0cGZFX/) no-repeat top left; }

#sectionmy .sectionmy2 h2.twitter { background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOnpkCy7NJ4FUcdVWWw1wqZT_01Xia5_4MGo0ztaaskYAcN_btT6BGPPlUDEGGtaTHBkdrxxSt8AFRnICmFmCZpfCvMu1_6ZclXmoNzUY8p7N_jID2QWpFXiTsepxaM7aphEyj4nNxiW_d/) no-repeat top left; }

#sectionmy .sectionmy2 .subscription a { color:#252e28; text-decoration:none; }

</style>


NOTE : Host RSS.png , EmailRSS.png , twitter.png yourself.



4.Now go to Layout-->Page Element and click on "Add a gadget".

5.Select "html/java script" and add the code given below and click save.

<div id="hsection">
<div id="sectionmy">
<div class="sectionmy2">

<h2 class="subscription rss"><a href="YOUR-RSS-FEED-URL">SUBSCRIBE VIA RSS</a></h2>

<h2 class="subscription email"><a href="YOUR-FEEDBURNER-EMAIL-SUBSCRIPTION-URL">SUBSCRIBE VIA EMAIL</a></h2>

<h2 class="subscription twitter"><a href="YOUR-TWITTER-URL">FOLLOW ON TWITTER</a></h2>

</div></div>
</div>



NOTE : Replace YOUR-RSS-FEED-URL , YOUR-FEEDBURNER-EMAIL-SUBSCRIPTION-URL , YOUR-TWITTER-URL with your urls.


Look at the example below:

<div id="hsection">
<div id="sectionmy">
<div class="sectionmy2">

<h2 class="subscription rss"><a href="http://feeds2.feedburner.com/blogspot/WyNa">SUBSCRIBE VIA RSS</a></h2>

<h2 class="subscription email"><a href="http://feedburner.google.com/fb/a/mailverify?uri=blogspot/WyNa&loc=en_US">SUBSCRIBE VIA EMAIL</a></h2>

<h2 class="subscription twitter"><a href="http://www.twitter.com/btipandtrick">FOLLOW ON TWITTER</a></h2>

</div></div>
</div>


You are done.

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...