Viewing 4 replies - 1 through 4 (of 4 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Install a custom css plugin and add this CSS:

    #nav,
    #main,
    #nav li {
        position: relative;
    }
    
    #nav ul li {
        height: auto;
    }
    
    #nav {
        z-index: 1;
        min-height: 56px;
    }
    
    #nav li ul {
        position: absolute;
        top: 100%;
        left: -999em;
        width: 100%;
    }
    
    #nav li ul:before {
        content: "";
        width: 100%;
        height: 10px;
        top: -10px;
        position: absolute;
        left: 0;
    }
    
    #nav li:hover ul {
        left: 0;
    }

    Thread Starter cperryibc

    (@cperryibc)

    Worked!!! Thank you so much!!

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    It’s a bit buggy on mobile. Try changing this:

    #nav {
        z-index: 1;
        min-height: 56px;
    }

    To this:

    #nav {
        z-index: 10;
        min-height: 56px;
    }

    Thread Starter cperryibc

    (@cperryibc)

    So that CSS worked but I’m still noticing a couple of things:
    1. The menu doesn’t go the whole way to the right side of the page
    2. The drop-down under “Programs” doesn’t work when the first slide is showing (2015 summit); it works with the rest of the slides.

    Suggestions?

    http://www.inwardboundcenter.org

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Horizontal Drop-Down Menu Not Working’ is closed to new replies.