The Bootstrap
[resolved] Two Level Menu Issue (2 posts)

  1. briandesp
    Posted 3 years ago #

    For some reason the moderator thought this topic should have been closed.... SO let me reopen it.

    To be more clear with my problem. The menu does not push down all the way on first load. You must click the menu item once close the menu and open it again then the sub menus will push down. I think i know where you can find the source of this problem...

    I noticed that the div containing the class "nav-collapse in collapse"
    has a style of height set to a specific number when close it is at 0, when first opened it is assigned another specific number i.e. 288px. This is where the problem is because its set to a specific height.

    However, when i close the menu and open it back up this height is now set to AUTO. Can you please look into this? Seems like a javascript error.

    ANYWAY--- my hack to fix this problem was to add this bit of code to the min.css file

    .nav-collapse.in.collapse {
    height: auto !important;

  2. jmjf
    Posted 3 years ago #

    Do you have a link to the site? Because I don't see an "in" in the nav menu classes.

    Also, you should work in a child theme, not directly on the base theme. Otherwise, if you update the-bootstrap, you lose all your changes.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.