mardi 30 août 2016

Malihu jQuery custom content scroller pushing content to the side

I am using the Malihu jQuery custom content scroller plugin on a webpage. When I apply it to the <body> it pushes all of the content over to the left (about 30px). Is there a way to make the scrollbar go on top of the content instead? Thank you!

Here is the plugin: http://ift.tt/QGa3rv

Here is the code I use to apply it to the body (all inside a $(document).ready())

$("body").mCustomScrollbar({
       theme:"dark-3",
       scrollButtons:{
            enable:true
       }
});




Aucun commentaire:

Enregistrer un commentaire