• Hi,

    I want to show the mobile menu on all screen sizes, instead of the regular menu. I’ve tried it using only css, but that’s not enough. I can show the menu-bars, but it doesn’t work. Maybe a change in the js-files is also needed?

    I changed some css under @media min 48em, but the menu-items open as the regular menu when I click the mobile menu:

    .navigation-top {
        top: 0; /* was bottom */
    }
    
    js .menu-toggle,
    	.js .dropdown-toggle {
    	display: block; /* was none */
    	}
    
    	.js .main-navigation ul,
    	.js .main-navigation ul ul,
    	.js .main-navigation > div > ul {
    		display: none; /* was none */
    	}

    Does anybody has some ideas how to get it done?

    Thanks!

    • This topic was modified 8 years, 7 months ago by squasher. Reason: Added css
Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Would you be able to link your site to show us how far you’ve got?

    Thread Starter squasher

    (@squasher)

    Not yet. It’s still on localhost. But I think I’m almost there. Only with CSS adjustments, btw. I will puzzle some more…

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Always show mobile menu’ is closed to new replies.