Something about jQuery niceScroll:
jQuery niceScroll use for custom scrollbars on mobile and desktop browsers. It gives your page a beautiful with nice scroll. If you want to set jQuery Plugin for custom scrollbars on mobile and desktop browsers then follow this code.
Add this library:
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery.nicescroll/3.7.4/jquery.nicescroll.min.js"></script>
Put these code below of the page:
<script type="text/javascript"> $("html").niceScroll({ zindex: "9999", cursorcolor: "#c1001f", // you can change the color using color code cursorborder: "1px solid #c1001f" }); </script>
I hope it will be helpful for you.
Question and answer is powered by AnsPress.io