Change the menu being used if width is 600 px or less (mobile)

  • Author
    Posts
  • #28440
    mercuriuscreative

    Hi everyone,

    I’m trying to figure out how to change what menu WordPress is using when the width of the template changes.

    Why? I installed a drop down menu plugin, which works great on the desktop version of the site. But it does not work on the size responsive theme I’m using, Parabola, when the width is below 600px. It reformats the menu to be a mobile menu, which breaks the dropdown functionality in addition to the entire menu.

    I need it to use an alternate basic WordPress menu when/if the width goes below the 600px threshold.

    Some details…
    Theme is Parabola
    WP Ver is 4.01

    It might be related to an ID called nav-toggle…

    I attached a screen which might be helpful.
    http://i60.tinypic.com/jhy00h.png

    Thanks!

    #28441
    mercuriuscreative

    More info… I think this is the code that makes the menu happen:

    <a id="nav-toggle"><span>&nbsp;</span></a>
    			<nav id="access" role="navigation">
    
    				<?php cryout_access_hook();?>
    
    			</nav><!-- #access -->
    
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Change the menu being used if width is 600 px or less (mobile)’ is closed to new replies.