Thursday, April 29, 2010

How To Add Beautiful Subscribe Section to Blogger




STEP #1
Log in to Blogger, go to Layout -> Edit HTML
and mark the tick box "Expand Widget Templates"

STEP #2
Now find (CTRL+F) this code in the template:

</head>
And immediately before it, paste this code:

<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/AVvXsEgkabFCHNDNsWNhbsWjLBfcKtmQvti77icwD5HZ4mFD1tP4pouuJPsCinLPAm0-p_rot2wxtEsgZTZczqGSVkp-XrWrDgCFnuwFyGpAC5SML_jiPeIlvdlr_DW6PpVUXLLS09ci82yhrfJo/) no-repeat top left; }

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

#sectionmy .sectionmy2 h2.twitter { background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsikm-F9MO_gQKvVEA3F3opRzhVpR73iAtdK2ec8Xqvmsc11Qb3GJshR2DvXsFF3kqM7aVur56Hl56l2h9SR2sSpF93Sae4B31suxCVWcmzLKs_K6Q8BBR9966usNaKVCDijPK0loTBB8u/) 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.


NOW CLICK SAVE TEMPLATE



No comments:

Post a Comment