• Awesome theme!

    One question though… The scrollbar to the right is really hard to see and when I have recorded user behaviors onsite it becomes obvious that many people don’t see that it’s scrollable.

    Where do I alter this? (I have made a few other changes, but this particular thing I can’t find)

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter axxies

    (@axxies)

    Found it. sorry.

    I’m having the same problem. where did you find the code to change?

    finalcircuit

    (@finalcircuit)

    It’s in moesia/js/nicescroll-init.js.

    If you’re using a child theme, you have to copy that file into it and then dequeue/enqueue in functions.php.

    /* override the settings file for the custom browser scrollbar */
    if ( get_theme_mod('moesia_scroller') != 1 )  {
    	add_action('wp_enqueue_scripts', 'nicescroll_script_fix', 100);
    	function nicescroll_script_fix()
    	{
        		wp_dequeue_script('moesia-nicescroll-init');
        		wp_enqueue_script('my-moesia-nicescroll-init', get_stylesheet_directory_uri().'/js/nicescroll-init.js', array('jquery'));
    	}
    }

    Just in case somebody finds this thread…

    The faster solution is to add this to the styles.css of your child theme:

    .nicescroll-cursors {
        width: 12px !important;
    }

    If you want more o less width of the bar, change the “12px” to the desired width.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hard to see scroll bar to the right’ is closed to new replies.