Hey H&T users, In the previous I showed you How To Add Multi Tab Widget In Blogger. It was Viewed much. Today I will show How To Change Scrollbar Style In Blogger. Isn't it cool to have different scrollbar for your site. This is very cool scrollbar with customization options. This is popularly known webkit-scrollbar. In this post I will make you learn to extensively customize the Scrollbar style in Blogger Without taking much time let's start the tutorial about customizing scrollbar in Blogger.
Change Scrollbar Style In Blogger
So you want to change scrollbar style in Blogger. It is quite very simple to change scrollbar style in Blogger. You only need to add a small HTML code in your Template. Don't Worry it will not erupt your template. Just follow the instruction carefully and you will be able to change your Blogspot blogs' scrollbar style.
First of all Backup your template. If you don't know how to backup your template then follow the steps given below:
- Go to Blogger Home.
- Then go to Dashboard.
- After that click on Template.
- Click on Backup/Restore Template (It is written at top right corner).
- Than Download the Template.
- Done.
We can now start the tutorial about changing scrollbar style in Blogger.
- Go to Blogger Home.
- Go to Dashboard.
- Now Click on Template.
- Than you have to click on Edit Html.
- Now Search for ']]><'. ( You can search for it by pressing Ctrl+F).
- After you find the code (]]><). Paste the Code given below just above "]]><".
/* Webkit override Scrollbar with CSS3 */
::-webkit-scrollbar {
width: 10px; height:8px;
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 4px #C0C0C0;
background:#C0C0C0;
}
::-webkit-scrollbar-track:hover {
-webkit-box-shadow: inset 0 0 20px #C0C0C0;
background:#C0C0C0;
}
::-webkit-scrollbar-thumb {
background: #292832;
-webkit-box-shadow: inset 0 0 6px #FFFFFF;
}
::-webkit-scrollbar-thumb:hover {
background: #000000;
-webkit-box-shadow: inset 0 0 6px #FFFFFF;
}
::-webkit-scrollbar-thumb:active {
-webkit-box-shadow: inset 0 0 20px #292832;
background:#808080;
}
body, .body-fauxcolumn-outer {
background-color:#ffffff !important;
}
#HTML13{
background:none!important;
border:none !important;
}
- Save Template.
- Done. You just created custom webkit scrollbar for Blogger Blog.
- You can change the value written in red color. By changing the value scrollbar colour will also be changed. You can change the color of background or scrollbar colour.
- By changing the colour in red you can change the background colour of scrollbar. Use HTML colour codes in place of this.
- Altering the color in blue you can change change scrollbar shadow color. Use HTML color codes in place of this colour.
- Scrollbar thumb means the stick or cursor which scrolls from top bottom while scrolling the page.
- Scrollbar track is the background or track on which Scrollbar thumb scrolls.
- You can also change the color to change on hover and on pressing.
- Changing the digits or numbers in Green and Purple will change the width and height of the scrollbar respectively.
- By default the webkit scrollbar have same color and background as mine. Feel free to change it according to your need.
Comments
Post a Comment