Add smooth hover effect to your sidebar links such as Labels,Popular posts and Blog Archive.I have done this with css.You can see live demo at my blog I also added this effect to my blog.On mouse hover it slides to right side little much which attracts your visitors.For adding this code you just have to replace the code from your template.Now let's see how to add cool hover effect to your sidebar links.
♫ For Demo Hover On Labels ♫
How To Add Hover Effect To Sidebar Links ?
- Go to Blogger Dashboard ► Design ► Edit HTML.
- Download Full Template.
- Now Search For this type of code (Note - This code will little diffrent as your blog dessign)
.sidebar li {
background: none;
border-bottom: 1px solid #EEE;
padding: 8px;
padding-left: 22px;
}
Now replace above type of code with below,
#sidebar li{
background:#FFFFFF;
display: block;
font-size: 14px;
line-height: 24px;
padding: 4px 5px 4px 10px;
-moz-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-ms-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
#sidebar li:hover{
background:#E6E6E6;
padding: 4px 5px 4px 36px;
}
*You can change all the CSS values as you wish
Now first preview your template then save it.(Note - When you preview your template then quickly check it because hover effect in preview is temporary).
If you are not getting the correct then please comment with your blog address.
Really Nice Rahul
ReplyDeletei can find it...:/
ReplyDeleteProvide me your blog URL
Deletehttp://safetricks.blogspot.in/
ReplyDeleteFind below code in your template,
Delete#rsidebar-wrapper{width:290px;float:right;margin:0px;padding:0px 0px 0px 0px;word-wrap:break-word;overflow:hidden;text-shadow:0 1px 0 #fff;}
replace the above code with below one,
#rsidebar-wrapper li{
background:#FFFFFF;
display: block;
font-size: 14px;
line-height: 24px;
padding: 4px 5px 4px 10px;
-moz-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-ms-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
}
#rsidebar-wrapper li:hover{
background:#E6E6E6;
padding: 4px 5px 4px 36px;
}
save your template and you are done
first take a preview of your template
Deletehttp://bfbvd.blogspot.in/ yaha es blog par test kiya maine.....
ReplyDeletesize bahut big ho gaya.....
ReplyDeleteto maine jo upar code diya hai usme ye add kardo
ReplyDeletewidth:290px;
sirf itna hi add karo aur dusri line mein karo
http://bfbvd.blogspot.com/
ReplyDeletedekho bro kya probm hai....
bro.....
ReplyDeleteCan't find :(
ReplyDeletehttp://diary-famiglia.blogspot.com/
thanxs
ReplyDeletehttp://robosoft2.blogspot.com/