Second scrollbar

Home Forums Older releases 0.9.x Second scrollbar

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1360
    spmi
    Participant

    Hi,
    we are using smartmenus 0.9.6 together with bootstrap 3.1.1. When collapsed, the menu shows a second scrollbar on the left hand side of the original scrollbar when a submenu is opened.
    The second scrollbar appears in the bootstrap example (http://getbootstrap.com/examples/navbar/) as well, but not in your examples. Do you have any advice on how we can avoid the second scrollbar?
    Thanks!

    #1647
    admin
    Keymaster

    Hi,

    Could you please post an URL to a live demo (post it as “Protected data” if you prefer to keep it between us)? I guess it’s some custom CSS rule that causes this but I need to test your code in order to investigate it.

    Thanks!

    #1648
    spmi
    Participant

    The pages are in our intranet, so you can’t access them directly, but I copied an example onto my private web space, where you should be able to test the code:
    Thanks for your help.

    #1649
    admin
    Keymaster

    Thanks, now I see what you mean!

    This is a default setting in Bootstrap’s CSS for collapsed navbars – i.e. the max-height declaration in the following rule in “bootstrap.css”:

    .navbar-collapse {
      max-height: 340px;
      ...
    }

    So you will need to use something like this additionally to overwrite it (just include it after “bootstrap.css”):

    .navbar-collapse {
      max-height: none;
    }

    Please let me know if you still have troubles.

    Cheers!

    #1650
    spmi
    Participant

    Works like a charm.
    Thanks a million!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

Register

You will be emailed a link to set your password.

Login

Lost password?