Add a Popular Posts Gallery just above your Blogger posts
The most strong and popular web design trend over last couple of years is a sliding horizontal pan…
,
,
http://www.alychitech.com/2012/04/add-popular-posts-gallery-just-above.html
The most strong and popular web design trend over last couple of years is a sliding horizontal panels also known as Sliders or Carousels. It’s a very effective method to increase the web site usability and engage the user. This widget shows the most popular 10 posts on your blog just above your Blogger posts. You can see the Demo on my blog.
Before adding it you should know that this widget is not fully compatible with all templates, so please make a backup before making any changes to your blogger template. Now, follow these steps:
1.
2. Search (CTRL + F) for this piece of code:
]]>
3. Just above/before it, add the following code:
#gallery{position:relative;margin:0 35px 20px;width:590px;height:126px;background:#ffffff}
#gallery .belt{position:absolute;top:0;left:0;list-style-type:none}
#gallery .panel{float:left;margin:20px;width:84px;height:86px;background:url(http://2.bp.blogspot.com/-_Srvna_zg0M/T393_LXqDLI/AAAAAAAABrQ/_t2GmPexCHo/s1600/bg-slider.png) bottom center no-repeat;overflow:hidden}
#gallery .panel img{float:left;border:1px solid #DDD;margin:5px;width:72px;height:72px;background:#FFF;padding:0px}
#gallery .panel img:hover{filter:alpha(opacity=50);-moz-opacity:0.5;-khtml-opacity:0.5;opacity:0.5}
Note: you can adjust the size of gallery, changing the values in red (590 and 126).
4. Now search for the following piece of code:
5. Just above/before it, add this code:
//
Next thing to do is to place the widget just above the blogger posts.
6. Search for this code:
...or if you can'find it, search for this one:
7. Just below it, add the following code:
Note: delete the fragments of code in blue if you want this widget to be displayed in posts pages also.
8. Preview and if everything is ok, Save the Template.
?