One of the most wanted thing in a template is responsiveness to impress visitors. It play a very important role in reputation of a blog. As basic things of a responsive template are bold use of colors, smooth scrolling, impressive menu therefore people usually focus on them but it is not just about that because several other things are also responsible for a responsive design like a stylish scrollbar. I don't thing scrollbar needs introduction everyone knows what a scrollbar is. So this post is about customizing scrollbar in blogger by CSS. I will share some stylish and impressive scroll bars below, choose yours and add it in your blog.
How To Customize Scroll bar In Blogger?
Step 1: Go to blogger dashboard, navigate to template and edit html.
Step 2: Click inside the code and search for below piece of code:
]]></b:skin>
Step 3: Choose a customized scrollbar and copy its code.
Style 1:
body::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
background-color: #F5F5F5;
}
body::-webkit-scrollbar {
width: 12px;
background-color: #F5F5F5;
}
body::-webkit-scrollbar-thumb{
border-radius: 5px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
background-color: #ccc;
}
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
background-color: #F5F5F5;
}
body::-webkit-scrollbar {
width: 12px;
background-color: #F5F5F5;
}
body::-webkit-scrollbar-thumb{
border-radius: 5px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
background-color: #ccc;
}
Style 2:
body::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
background-color: #F5F5F5;
}
body::-webkit-scrollbar {
width: 12px;
background-color: #F5F5F5;
}
body::-webkit-scrollbar-thumb {
border-radius: 0px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
background-color: #35BB6E;
}
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
background-color: #F5F5F5;
}
body::-webkit-scrollbar {
width: 12px;
background-color: #F5F5F5;
}
body::-webkit-scrollbar-thumb {
border-radius: 0px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
background-color: #35BB6E;
}
Style 3:
body::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
background-color: #F5F5F5;
}
body::-webkit-scrollbar {
width: 14px;
background-color: #ffffff;
}
body::-webkit-scrollbar-thumb {
border-radius: 5px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
background-color: #3993E2;
}
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
background-color: #F5F5F5;
}
body::-webkit-scrollbar {
width: 14px;
background-color: #ffffff;
}
body::-webkit-scrollbar-thumb {
border-radius: 5px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
background-color: #3993E2;
}
Step 4: Paste it above the below piece of code.
]]></b:skin>
Step 5: Click on save template and you are done.
Custom Style:
You can make a custom scrollbar too by making changes according to your needs in highlighted fields above. Read explanation of each code function below:
Color of scroll bar:
To change color of your scrollbar replace #3993E2 with your chosen color code in background-color: #3993E2; in the third style.
Edges of Scroll bar:
To change radius of edges of your scroll bar make changes in border-radius: 5px; in the third style.
Background color of scrollbar:
To change background color of your scroll bar make changes in background-color: #ffffff; in the third style
How to get code of a color? Click here to use color code generator!
I hope you liked this post. If you have any problem or suggestions please leave a comment below. I will get back to you. Follow and subscribe to get news about new posts. Don't forget to share this post. Thanks for visiting 101Helper.
Search tags: Blogger tips and tricks,Responsive blogger template design,CSS tricks blogger,Stylish scrollbar codes for website or blog,Impressive blogger template design,How To Customize Scrollbar In Blogger
ConversionConversion EmoticonEmoticon