Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

Reply To: Change width of scroll buttons

Home Forums Older releases 1.0.x + Bootstrap addon Change width of scroll buttons Reply To: Change width of scroll buttons

#2709
admin
Keymaster

Hm, when I test this on the default demo page “bootstrap-navbar.html”, it works fine. Make sure you are calling it after #menu-id is available in the DOM.

BTW, if you don’t need dynamic values, just use CSS – e.g. like this:

#menu-id span.scroll-down, #menu-id span.scroll-up {
	width: 1000px !important;
}

!important is needed because the script tries to set the width dynamically and we need to override it.

If you are still having troubles, please post an URL to some kind of demo page where I could test the issue. Thanks!