Hộp Subscribe với 12 nút social

Hôm nay, mình xin được giới thiệu một mẫu hộp Subscribe có kết hợp thêm 12 nút social (Facebook, Twitter, RSS, YouTube,Vimeo, LinkedIn, Tumblr, Google+, Pinterest, Instagram ...).

#DEMO

#Cách làm

1. Đăng nhập Blogger
2. > Bố cục > Thêm tiện ích > HTML/Javascrip
3. > Dán code dưới vào và save lại
<div class="outer-most">
<table>
<tr>
<td>
<div id="social-widget-2" class="widget widget_socials white_box">

<div class="social_wrapper">

<div class="social_inner">
<a class="facebook" title="Facebook" href="FACEBOOK LINK"></a>
<a class="twitter" title="Twitter" href="TWITTER LINK"></a>
<a class="rss" title="RSS Feed" href="RSS LINK"></a>
<a class="flickr" title="Flickr" href="FLICKER LINK"></a>
<a class="youtube" title="Youtube" href="YOUTUBE LINK"></a>
<a class="vimeo" title="Vimeo" href="VIMEO LINK"></a>
<a class="linkedin" title="Linkedin" href="LINKEDIN LINK"></a>
<a class="tumblr" title="Tumblr" href="TUMBLR LINK"></a>
<a class="dribbble tooltip" title="Dribbble" href="DRIBBLE LINK"></a>
<a class="google_plus" title="Google_plus" href="GOOGLE+ LINK"></a>
<a class="pinterest" title="Pinterest" href="PINTEREST LINK"></a>
<a class="instagram" title="Instagram" href="INSTAGRAM LINK"></a>
<div class="clear"></div>
</div>
</div>
<div class="clear"></div>
</div>

<div class="widget widget_newsletter white_box blue">
<div class="border_b">
<div class="newsletter_inner">
<h3>Newsletter</h3>
<p>Sign up to receive email updates and to hear what's going on with our company!</p>
<form target="popupwindow" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=YOUR FEEDBURNER ID', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true" method="post" action="http://feedburner.google.com/fb/a/mailverify">
<input class="letter_email" type="text" placeholder="Email address" name="email">
<input class="letter_submit" type="submit" value="Ok" name="submit">
<input type="hidden" value="YOUR FEEDBURNER ID" name="uri">
<input type="hidden" value="en_US" name="loc">
</form>
</div>

<center><div id="credits"><Script Language='Javascript'>

<!--
document.write(unescape('%3C%70%20%73%74%79%6C%65%3D%22%20%6C%69%6E%65%2D%68%65%69%67%68%74%3A%30%70%78%3B%20%66%6F%6E%74%2D%73%69%7A%65%3A%37%70%78%3B%20%66%6F%6E%74%2D%77%65%69%67%68%74%3A%62%6F%6C%64%3B%20%74%65%78%74%2D%61%6C%69%67%6E%3A%72%69%67%68%74%22%3E%3C%61%20%73%74%79%6C%65%3D%22%63%6F%6C%6F%72%3A%23%44%33%44%33%44%33%3B%22%20%68%72%65%66%3D%22%68%74%74%70%3A%2F%2F%77%77%77%2E%62%6C%6F%67%67%69%6E%67%65%68%6F%77%2E%63%6F%6D%22%3E%50%6C%75%67%69%6E%20%62%79%3A%20%42%6C%6F%67%67%69%6E%67%65%68%6F%77%2E%63%6F%6D%3C%2F%61%3E%3C%2F%70%3E%20'));
//-->
</Script> </div></center>
<style>#credits a{font-size: 10px; text-decoration:none; color:white;} </style>
</div>

</div>


<style>

.widget_socials .social_wrapper {
    padding: 0px 20px 10px;
}
.widget_socials .social_inner {
    margin-right: -20px;
}
.widget_socials a {
    background-color: #888888;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border-radius: 2px 2px 2px 2px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    float: left;
    height: 35px;
    margin-bottom: 10px;
    margin-right: 10px;
    overflow: hidden;
    text-indent: 9999em;
    width: 35px;
}
.widget_socials a:hover {
    background-color: #666666 !important;
}


.widget_socials a.facebook {
    background-color: #6F85AE;
    background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBRQUSEAlyXsEDfgWae3wIpMAN2unjYCVNHWN5W8WRNVyTaEgengLJDwCtrqvkNcty8jp_I-W0A1-gEYZWB3oDf6b-b5XSAWwE33CgJ6aX5SwmiCXNv2a67LxWNgVrNlSDLzx4BeDAZs8/s24/fb.png");
}
.widget_socials a.twitter {
    background-color: #23B6C6;
    background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcZGStfzH8r2xgoTPka8eCyvASv3FJftfmBUIXDfXD1xWa903EoGyF_QgTB5hQkwoL5QX-mJ6vxvGvaGXpgFd-BgIX1mWWLmjO9iagBepxBGauORqhph-GVUPwJ5eGpIZQr1gvZ3qYxs4/s24/twitter1.png");
}
.widget_socials a.flickr {
    background-color: #FF0084;
    background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8TESucU3XSNoe-n65oTaJulhNG14tbbGbpWXXANit4DLQqx3UBvVu_1T8-NdFdQtgzhJHbXfuE9sbUCWn-HxZ4-RzCNb3x_05ahpBH7YbMXGp0k6Dj3h3k1hEtdNwoQmlUH-8gr9kW0Y/s24/flicker.png");
}
.widget_socials a.dribbble {
    background-color: #C6376D;
    background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggg6Q3-lMcCHJ5UrhuHGhVC3aLa5Cxnd4I2Tjf0gs1R2OzY13CZcACHJQ0wFVT6yeL2-AMGIEI60LaZAhDEp29rouqHriFyJ-UQI3Z4lfiK84xj7lhWZqk4Eom0bFePP1MIM84IpFTJd4/s24/dribble.png");
}
.widget_socials a.vimeo {
    background-color: #20B9EB;
    background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2Cu8jbdVAq86Y-j6hj6lwgSYyDUktAB3VScOQYCtS0s30_5eNsr6a0af6oTE1K6MBW366EVjgCXhvhyUA1Jxmp1TwPpJYKeZ1uoAn1XhanuEwNVmAxwHzSbecL2RstO5gOmNJKHIquYY/s24/vimeo.png");
}
.widget_socials a.tumblr {
    background-color: #2E4B68;
    background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlzeS9D1HfUOPktwZSJCOGyi8oMTCjw4WGIIPDFioHU-piHg8HZLLcgn6_WWpdxGPzTozfiIh1mMWaInlgwvbKpLFAF33GTw4ePOJffVPuxvYku_IqtLxb3aoK6bTGQIC5FseiTjseaCk/s24/twitter.png");
}
.widget_socials a.rss {
    background-color: #FA7204;
    background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF7uC5ZoU32wXk1-p5nuyIUUagr4Mz8kmaJaTNETS_IhsICWTazc7oH5QZS7iDKy_Lhk7YW27pj-HmmGQA-h0PG0VFL2-1Ul_G-tFcS4ynLJftlI5NVkx6hZMGxCAyu3KTv7bRvJ01xhM/s24/rss.png");
}
.widget_socials a.linkedin {
    background-color: #006699;
    background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQNwLOZmjYXAdP4JdSOwCbsO3ejSZQZahxX0M3YYRof09_RqoV0efq4gBQZz8gqJYbMRTpeR4njBGMwDuLvXynzSsOVpPkyomg_nk_7yQTdh0OGXUO_ASMhgEgtz10Xqq_gU3zSKzhKsI/s24/linkedin.png");
}
.widget_socials a.youtube {
    background-color: #DD3D3D;
    background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcnL_Cem7L6Om90vcHhIu8nwaEA65qkDpIF3ceYzelzXpdLeEpZmNFVhWjQZDRjnuEp-2QVrIsHP1VE3gLeVn_3-5lq5aesXggc-SXVzRB7jatfwOxqA2g433zLHe9U5MduwRXGRlqN78/s24/youtube.png");
}
.widget_socials a.google_plus {
    background-color: #DD3D3D;
    background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDDRGbKR8SSTgxEME8vc2UOa3V6ZkzRXf83DryNAtHvwk_YJVfHEGZOccCI9LNgvZGObO3-vnRkTAedv60pN1p8dXEVVq6AZI-8TOJbO8JtgHZ50__uk_qoL_BE4Hxm5cE4DLYx3nlRMA/s24/google+.png");
}
.widget_socials a.pinterest {
    background-color: #C9242D;
    background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh87eB_yD2OjNZe1P8i2lK4k2CkTdpb0vNEq-8i6SPo3-lo0bo8LBE2LCwpqdgIcncwqkgCf2GXG_904r16xsq3Y1YWcxWSAe4Yzu7dSzXgE2R9yMhhqpQvO4hBBf8lqmIrHoDnNBKDj9o/s24/0Bz2zRMjP8YuqTE1Sb21WSkNONUk.png");
}
.widget_socials a.instagram {
    background-color: #1B577D;
    background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ5073bF_yfAVqR_keHS8PY7bDmVQExVyOSqYvASipE7iVRFhgNyfGofnYAHyaI2WesJAuof4hY30SAyPMXJzPSPSGaadHCy6sX99uVro_j7vrPhJZp8kgDHLDteAjjUuCEXrxAule3O8/s24/0Bz2zRMjP8YuqekJ0dmZtcmhQSms.png");
}
.widget.facebook_like_box .facebook_wrapper {
    padding: 11px 20px 15px;
}
.widget.facebook_like_box .fb_inner_wrapper {
    overflow: hidden;
}
.twitter_widget .tw_btn {
    padding-bottom: 20px;
    padding-left: 20px;
}
.twitter_widget em {
    color: #999999;
    font-size: 12px;
}
.flickr_widget .flickr_wrapper {
    padding: 20px 20px 7px;
}
.flickr_widget .flickr_wrapper .flr_wrapper_inner {
    overflow: hidden;
}
.flickr_widget .flickr_wrapper .flr_inner {
    margin-right: -13px;
}
.flickr_widget .flickr_wrapper a.flickr_item {
    display: block;
    float: left;
    height: 55px;
    margin-bottom: 13px;
    margin-right: 13px;
    text-decoration: none;
    width: 55px;
}
.flickr_widget .flickr_wrapper a.flickr_item img {
    border-radius: 2px 2px 2px 2px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    display: block;
    height: 55px;
    width: 55px;
}

.widget_newsletter.blue {
    background-color: #93D0EA;
}
.widget_newsletter.green {
    background-color: #80AA2A;
}
.widget_newsletter.red {
    background-color: #F4836A;
}
.widget_newsletter.black {
    background-color: #444444;
}
.widget_newsletter.pink {
    background-color: #E38ADB;
}
.widget_newsletter.orange {
    background-color: #F57E4B;
}
.widget_newsletter h3 {
    color: #FFFFFF;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.widget_newsletter .newsletter_inner {
    background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWQ5-MNbCTKtekhjQuQPmWAaVZNS6RJm8k6SfGM2WfTifSfeStPjZ4CAmma1jBYa_Z_f4lwMldLm9T4H6q_ah1k1y_lne8qAptGAAMcMkd2lTItQePprDK7n6cV-rDhxCfUYys-aW5tXU/s114/0Bz2zRMjP8YuqVWo5dDBFSnVrdkE.png") no-repeat scroll right 20px transparent;
    padding: 25px 20px;
}

.widget_newsletter .letter_email {
    line-height: normal;
    margin-right: 5px;
    width: 200px;
}
.widget_newsletter .letter_submit {
    background: #666666;
}
.widget_newsletter {
    color: #FFFFFF;
}

input[type="text"], input[type="password"], input[type="email"], textarea, select {
    -moz-box-sizing: border-box;
    background: none repeat scroll 0 0 #F9F9F9;
    border: medium none;
    border-radius: 2px 2px 2px 2px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2) inset;
    color: #888888;
    display: inline-block;
    font-size: 0.9em;
    line-height: 1em;
    margin: 0;
    max-width: 100%;
    outline: medium none;
    padding: 1em;
    width: 300px;
}
.button, .post_tag a, .tagcloud a, a.comment-reply-link, .form-submit #submit, input[type="submit"], input[type="button"] {
    background: url("images/button.png") repeat-x scroll center bottom transparent;
    border: medium none;
    border-radius: 2px 2px 2px 2px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    color: #FFFFFF !important;
    cursor: pointer;
    display: inline-block;
    font-size: 0.9em;
    font-weight: bold;
    line-height: 1em;
    outline: medium none;
    padding: 1em;
    text-decoration: none;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
}
.outer-most {width:320px;}
</style>

</td>
</tr>
</table></div>
Lưu ý:
  • Phần màu đỏ là các liên kết, các bạn thay thế cho hợp lí. Liên kết thì cần có đoạn HTTP:// ở đầu
  • Phần màu cam là văn bản, các bản có thể thay thế nó
  • Phần màu xanh là ID Feed của bạn - thay vào cho chính xác  

Comments