To view another live demo click here
The Steps are extremely straightforward so you can easily customize your widget without facing any problem what so every. Just follow the following instructions.
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.
- 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.
/*--- bdblogtrick --- */
.popular-posts ul{padding-left:0px;}
.popular-posts ul li {background: #FFF url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-u0GZ1pTbwCZSDfPVBFd-oR76KgZ_F9_dY2cSJtij2I_jHzOup2U5XnLglygx_O7WEngID_o-nenNDbg5pXcrEqytD_f3YQsCZq09tiLhR_9Enqju7aPLzIlCSY9L0hdP4v5TmkT23nA/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);
}
- You can change Background and border color by change #FFF and #6BB5FF
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.


No comments:
Post a Comment