Site logo

[Resolved] mobile sub menu open, no shadow, white bottom margin

Home Forums Support [Resolved] mobile sub menu open, no shadow, white bottom margin

Home Forums Support mobile sub menu open, no shadow, white bottom margin

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2457826
    Torsten

    Hi,
    for the 2 websites (domain & subdomain) mentioned in Private information I would like to have the mobile submenu opened when klicking on the Hamburger-Menu (see screenshot) and my client wants me to eliminate the bottom shadow plus he would like to have a white bottom for the mobile menu, approx. 20px.
    Thx ahead,
    Torsten

    #2458025
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    
    @media(max-width: 768px) {
        .main-navigation ul .sub-menu {
            box-shadow: unset;
        }
        .main-navigation .main-nav > ul {
            border-bottom: 20px solid #fff;
        }
    }
    #2458656
    Torsten

    Hi David,
    wonderful, as usual…
    😉
    the only thing that still doesn’t work ist the mobile menu starting with open submenu items on the main domain, working fine on the subdomain with

    .main-navigation.toggled .main-nav ul .current-menu-item ul,
    .main-navigation.toggled .main-nav ul .current-menu-ancestor ul {
        position: relative;
        top: 0;
        left: auto!important;
        right: auto!important;
        width: 100%;
        pointer-events: auto;
        height: auto;
        opacity: 1;
        display: block;
        visibility: visible;
    }

    Details in Private information below.

    best,
    Torsten

    #2458880
    David
    Staff
    Customer Support

    Does this work:

    
    #mobile-header.main-navigation.toggled ul ul {
        position: relative;
        top: 0;
        left: auto!important;
        right: auto!important;
        width: 100%;
        pointer-events: auto;
        height: auto;
        opacity: 1;
        display: block;
        visibility: visible;
    }
    #2458920
    Torsten

    it does!
    Thx a lot,
    best,
    Torsten

    #2459183
    David
    Staff
    Customer Support

    Glad to hear that

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