• Hello,

    I’m working on a them at the moment and need to add a custom scrollbar to a fixed height frame on one of my pages.

    I’ve tried using css and have realized that it’s not compatible on all browsers, so i’ve accepted that i will need to use jquery for this.

    I’m new to jquery, and am having a really hard time making it work within a theme. I’ve followed the steps for adding jscrollpane to create the custom scrollbar but can’t get it right. This is a problem with any jquery plugin i try to add to my themes.

    Could anyone possibly guide me through the steps? I know i’m missing probably the tiniest thing, but with this stuff it only takes one bit of code to stop it from working ??

    the page i’m trying to add the scrollbar is https://nouvellelondon.com/londonvc/blog/

    i’ve followed the instructions, from icluding the jquery scripts to adding the class to the container where i want the scrollbar to work, but still no luck ??

    Any help would be much appreciated!

Viewing 1 replies (of 1 total)
  • I’ve posted the answer in other threads for you but will post again here for others who see this.

    In the content for the scrollable area some of your images have the width and height specified, some don’t.

    In the browser generated scroll bar this is not an issue but in the jquery scroll bar it is.

    So simply add the width and height as per the other images and your problem should be solved.

Viewing 1 replies (of 1 total)
  • The topic ‘Adding scrollpane jquery plugin to theme’ is closed to new replies.