Site logo

Archived topic

Switch to mobile menu at 950px instead of the default which makes the menu wrap

15 replies · Started by Anonymous on February 4, 2016

Viewing posts 1–15 of 16

Google's results have not worked, looking for your help here, Developer People

I meant 945, but I don't think it would make much difference

Nope, that seems to make the menu button disappear completely, as this gif demonstrates

Apart from that, it seems to work fine

Any chance you can link me to your site?

That's odd, this is all I'm seeing printed in the source:

<style type="text/css">@media screen and (max-width: 945px)</style>

Seems a lot of the code was stripped out?

I'm not sure. I used the "Simple CSS" plugin that was recommended, sand just pasted in the CSS you gave me, just changing the number at the top

What version of Simple CSS are you using? Did you just install it?

Any chance you can try pasting it again and saving?

Version 0.2 of SimpleCSS
Have saved it. Seems to almost work now; the menu seems to go under the logo on the left, rather than staying at the top right by the search icon

Ah, try adding this as well:

@media (max-width: 768px) {
    .menu-logo .main-navigation 
    .menu-toggle, 
    .sticky-menu-logo .main-navigation.navigation-clone .menu-toggle {
        display: inline-block;
        float: right;
        clear: none;
        width: auto;
    }
    .menu-logo .main-navigation .mobile-bar-items {
        position: relative;
        float: right;
    }
}

Just adjust 768px again - or add the contents of the media query in the other query.

Let me know :)

Added that. You'll have to check though; I can't check on my phone

You have to keep all of the original CSS as well as the most recent stuff.

Right, both of them should be in

This archived topic is closed to new replies.