How to Add a Custom Scrollbar in Blogger using CSS?

How to Add a Custom Scrollbar in Blogger using CSS?

 Do you want to give your Blogger website a professional look by adding a custom-designed scroll bar?

Here, In this article, I will show you how to replace the old scroll bar with a beautiful CSS scrollbar in Blogger. 

Adding a custom scrollbar will give a website a professional look and you can change the color with your brand color. 

But, before proceeding further note that Custom scrollbars are not supported in Firefox or in Edge, prior to version 79.

Note: Download Link is given below. 

How To add Custom Scrollbars in Blogger?

YouTube video

Here, we will use the non-standard ::-webkit-scrollbar pseudo-element to modify the default browser scrollbar.  This is a basic CSS code that you can use to modify the look of the scroll bar. 

Here the 1st code target the width of the scroll bar (here 10px) and the second code handles the track of the bar and in the 3rd and 4th code, you can change the handle color and other properties. 

So, you can add the code in the theme editor or inside a single post of Blogger. So, to apply the CSS scroll bar to the entire site go to the theme > edit HTML and search for ]]></b:skin> tag and add the code just above it. 

You can also use the CSS code just above the </body> tag by adding a <style> tag to the CSS code. 

So, to simplify the process, I have added 5 different styles of Custom scroll bars that you can use on your Blogger website. 

CSS scroll Bar 1 (Gradient Style)

Here the width of the scroll bar is 14px which you can change according to your website. You can also change the border radius of the bar and the handle. 

CSS scroll Bar 2 (Dark Black)

Here, I have set the width of the scroll bar to 14px and add the black color in the background. 

CSS scroll Bar 3 (Blue Materialized Look)

Here the width is set to 12px and added a blue color scroll bar which is one of my favorite scroll bars in blogger. Here the box-shadow is applied to the scroll bar. 

CSS scroll Bar 4 (Yellow Materialized Look)

This is just like the above scroll bar with a yellow color background. You can also use your own color codes in the above CSS code. 

CSS scroll Bar 5 (SKY Blue Scrollbar)

I hope this Tutorial will help you Install Custom Scrollbar Using Pure CSS. 

If you have any doubt regarding the Custom scroll bar or any other doubts in Blogger you can ask me in the comment section. 

You can also check more Blogger tutorials on our YouTube channel and share this article on social media. Thank you. 😍

Also check: How to add a cool Preload animation in Blogger.

Leave a Reply

Your email address will not be published. Required fields are marked *