Membuat Tombol Share Dibawah Postingan Blog Super Keren
Kali ini Ane akan share tentang Trik Membuat Tombol Share Dibawah Postingan Blog Super Keren yang terbaru .. silahkan simak postingan ane dibawah ini.
Untuk menghindari kesalahan ada baiknya kalian backup template kalian terlebih dahulu.
Pertama - tama Login Blogger
Pilih mode Template lanjut pilih Edit HTML
>> Cari kode berikut ]]></b:skin>
Kemudian letakan kode dibawah ini diatas kode ]]></b:skin>
Setelah itu cari kode <data:post.body/>
kemudian letakan dibawah kode tadi letakan kode script dibawah ini :
<div class='clear'/>
<div id='share-button-fauzie'>
<p>Bagikan ke</p>
<a class='facebook' expr:href='"http://www.facebook.com/sharer.php?u=" + data:post.url + "&title=" + data:post.title' style='background:#3b5998;' target='_blank' title='Facebook'>Facebook</a>
<a class='facebook' expr:href='"https://plus.google.com/share?url=" + data:post.url' style='background:#c0361a;' target='_blank' title='Google+'>Google+</a>
<a class='twitter' expr:href='"http://twitter.com/home?status=" + data:post.title + " -- " + data:post.url ' rel='nofollow' style='background:#4099ff;' target='_blank' title='Twitter'>Twitter</a>
<a class='twitter' expr:href='"http://digg.com/submit?phase=2&url=" + data:post.url + "&title=" + data:post.title ' rel='nofollow' style='background:#000000;' target='_blank' title='Digg this!'>Digg</a>
<!-- script begin here -->
<script>
//<![CDATA[
var uri = window.location.href;
var ttle = document.title;
document.write("<a href='http://www.lintas.me/?c=bookmarklet&url="+uri+"&title="+ttle+"' rel='nofollow' style='background:#FF9900;'>Lintaskan</a>");
//]]>
</script>
<!-- End script -->
<div class='clear'/>
</div>
</b:if>
langkah terakhir Save template kalian.
Do you want to alter your Blogger’s Popular Posts Widget to make it more prominent and attractive for your visitors? Having a Popular Posts Widget in the sidebar has numberless advantages. It helps new visitors to pick those articles that are most trending on a website. However, Blogger’s Built-in Popular posts widget is not that much attention-grabbing in terms of designing and displaying. Therefore, if you wish to transform your Popular Posts widget into a masterpiece then, you have to rely on CSS Style sheets. After lots of request from our loyal readers, finally we have decided to share our custom popular post design that we are using on this MBL Blog. In today’s article, we will reveal its CSS Style sheet.
Adding Popular Post Widget To Your Blogger Blog:
The Steps are extremely straightforward so you can easily customize your widget without facing any problem what so every. Just follow the following instructions.
- Go To Blogger >> Your Blog >> Layout.
- Add a Gadget >> Now within the list of widget look for “Popular Posts” and select it.
- Now match the settings which are shown in the screenshot below.
- Select “Last 7 Days” (Weekly).
- Make sure you check the “Image Thumbnail” and “Snippet” because we need to display Small images along the trendy article, this will add more spice to your site.
- You can display up to 10 trendy articles, but we would recommend you to select 7 from the Drop down list.
- Now go ahead and Save the widget and that’s it we have successfully integrated a Popular Post widget.
Customizing and Stylizing Blogger Popular Post Widget:
- Once again go to Blogger >> Template >> (Create a backup in case anything went wrong).
- Select Edit HTML >> Proceed.
- Now with in the Template Search for ]]></b:skin> (CTRL+F Shortcut to quick search) and just above it paste the following CSS Coding.
/*--- MyBloggerLab --- */
.popular-posts ul{padding-left:0px;}
.popular-posts ul li {background: #FFF url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbKzd3aOJzBqI5rdQRONwszO3HZaw64CPMO9WkM2QD0kjaNxTf9eBofLasqMNYrBN_vf6Pp-lofmjGcjkfrul1caBaggWfX7Ftp1bQo7RxiapUtF6frJ0oS5Q3ILi4SBHCXN51Bqxv3PI/s1600/1.gif) no-repeat scroll 5px 10px;
list-style-type: none;
margin:0 0 5px 0px;
padding:5px 5px 5px 20px !important;
border: 1px solid #ddd;
border-radius:10px;
-moz-border-radius:10px;
-webkit-border-radius:10px;
}
.popular-posts ul
li:hover {
border:1px solid #6BB5FF;
}
.popular-posts ul
li a:hover {
text-decoration:none;
}
.popular-posts .item-thumbnail img {
webkit-border-radius: 100px;
-moz-border-radius: 100px;
border-radius: 100px;
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}
All Done: Finally, Press the Save Template button and you have successfully customized your y post widget. Now visit your site and enjoy the picture perfect results.
source : www.mybloggerlab.com