WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Thirteen
[resolved] How to switch off menue toggle on mobile devices (5 posts)

  1. brighton beach
    Member
    Posted 4 months ago #

    I have created a child thememe and everything is working fine. The only thing I don’t need is the collapsed menue for mobile devices. It can be very useful, but not for this particular site. Is there a way to switch off the effect.

    I would like to have the same menue for all screen sizes.

  2. mrtom414
    Member
    Posted 4 months ago #

    the media query for this is located in the style.css file at line 2759.

    You should see this line of code @media (max-width: 643px) and
    at line 2789 you should see the comment /*small menu */ this should be the code that toggles your menu from large to small.

    I would try commenting out all the .menu-toggle classes and see if it does what you want.

    Be sure to backup the style.css file before you do this. If it doesn't work you can just restore the file.

  3. mrtom414
    Member
    Posted 4 months ago #

    I tried it and it works just comment out lines 2790 to 2855. This should be everything under the /* small menu */ to just above the line that starts with #content .featured-gallery { .

  4. mrtom414
    Member
    Posted 4 months ago #

    If you don't want the menu to collapse you will need to add the following code under the /*small menu */ .nav-menu{min-width:643px;}

    Hope it what you wanted .

  5. brighton beach
    Member
    Posted 4 months ago #

    Thanks! It works fine. Your help is very much appreciated.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.