Z-index in Nicescroll

Asked

Viewed 194 times

0

When applying this script for smoothing the scroll (the nicescroll) it occurs to stay under some items of the site with the larger Z-index. Where can I put a Z-index on it to overlay this site items?

$(document).ready(

  function() { 

    $("html").niceScroll();

  }

);
  • Could you make a functional example? You can [Edit] your question and use the code snippet (CTRL+M) or create in Jsfiddle.

1 answer

1


Try this:

$('div.nicescroll-rails').css('z-index',valor);

Browser other questions tagged

You are not signed in. Login or sign up in order to post.