7 Sept 2013

Popular Post with circular,rectangular Css Effect For Blogger

Hie Friends Today i will share an awesome css style popular post widget.You can style the numbers in variety of shapes, we styled them in square/rectangular and circular shape.

Popular posts widget is an effective tool to increase your blog pageviews and engage readers more on your blog. It fetches and ranks posts based on most visited pages using your Google analytics data.



Steps to add this widget to blogger as follows:-


Add Popular Post Widget

  1. Go to Blogger > Layout
  2. Click "Add a Gadget"
  3. Choose "Popular Posts"  from the list
  4. You will need to configure its settings as shown in the image below: uncheck "image thumbnail" and also "snippet"   Its better that you display at most 7-9 posts. Less is good and clean.
  5. Save it

Customize Popular Posts

Now you need to change the default styles and change its look to our desired design using Custom styles.
  1. Go To Blogger > Template
  2. Backup your Template
  3. Click Edit HTML
  4. Search for </b:skin>.  Click the black arrow to expand the code.
  5. Paste the following Styles just above </b:skin>

.popular-posts ul { padding-left: 0px; counter-reset: popcount; } .popular-posts ul li:before { list-style-type: none; margin-right: 15px; padding: 0.3em 0.6em; counter-increment: popcount; content: counter(popcount); font-size: 16px; background: #292D30; color: #ffffff; position: relative; font-weight: bold; font-family: georgia; float: left; border: 2px solid #dddddd; box-shadow: 1px 2px 9px #666666; } .popular-posts ul li { border-bottom: 1px dashed #dddddd; } .popular-posts ul li:hover { border-bottom: 1px dashed #696969; } .popular-posts ul li a { text-decoration:none; color:#5A5F63; } .popular-posts ul li a:hover { text-decoration:none; }


Customization:
  1. To change the background color of the Square bubble edit #292D30
  2. To change the text color of the bubble edit #ffffff
  3. By default the shape of the bubble is Square. To change it to Circle simply add the following code just after box-shadow: 1px 2px 9px #666666;
border-radius:15px;

6. Save your template and you are all done!
Visit your blog to see it working just perfectly.


Please Comment And Share This with your friends 

No comments:

Post a Comment

Ads Inside Post