wordpress - Remove niceScroll to enable default browser scroll -
i got ember pro theme , came built in nicescroll
. want remove can't find way how it.
the reason because want remove there issue: when mouse cursor on iframe content, can't scroll, tried same iframe other page, , all's good. here links: http://exe4um.lv/biletes/ , http://valmierashk.lv/biletes/
the iframe api ticket service. question how can disable nicescroll on exe4um.lv
page enable browser's default scrollbar?
add below function in function.php file
<?php function myscript() { ?> <script type="text/javascript"> $(document).ready(function() { /* $('html').getnicescroll().remove();*/ $(".page-template-default").getnicescroll().remove(); }); </script> <?php } add_action( 'wp_footer', 'myscript' ); ?>
Comments
Post a Comment