Title: New Menu Toggle?
Last modified: August 21, 2016

---

# New Menu Toggle?

 *  Resolved [acornrevolution](https://wordpress.org/support/users/acornrevolution/)
 * (@acornrevolution)
 * [12 years ago](https://wordpress.org/support/topic/new-menu-toggle/)
 * I am trying to create an additional toggle menu. I have edited the header.php
   and style.css so that I have a genericon that appears and looks like it should
   work, but it doesn’t. When I click on it, nothing happens. I have created a new
   siderbar, “sidebar-homework”, and also tested just using “Lorum ipsum”. Here 
   are my edits. What am I missing?
 * header.php
 *     ```
       <?php if ( !cat_is_ancestor_of(1, $cat)):  ?>
       					<div id="homework-toggle" class="toggle" title="<?php esc_attr_e( 'Homework', 'sorbet' ); ?>"><span class="screen-reader-text"><?php _e( 'Homework', 'sorbet' ); ?></span></div>
       				<? endif; ?>
       ```
   
 * header.php
 *     ```
       <?php if ( !cat_is_ancestor_of(1, $cat)):  ?>
       		<div id="homework-toggle-nav" class="panel">
       			Lorum Ipsum
       		</div>
       	<?php endif; ?>
       ```
   
 * style.css
 *     ```
       .toggles #homework-toggle:before {
         line-height: 50px;
         background-color: #000;
         content: "\f444";
       }
       ```
   
 *     ```
       .panel#homework-toggle-nav {
         background: #eee;
         border-bottom: 5px solid #000;
       }
       ```
   

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

 *  [stephencottontail](https://wordpress.org/support/users/stephencottontail/)
 * (@stephencottontail)
 * [12 years ago](https://wordpress.org/support/topic/new-menu-toggle/#post-4831525)
 * Sorbet includes a little JavaScript to toggle the menu. It can be found at `js/
   menus.js`. You’ll have to edit that in order to get your new dropdown to toggle
   correctly. It’s pretty self-explanatory if you read the code.
 *  Thread Starter [acornrevolution](https://wordpress.org/support/users/acornrevolution/)
 * (@acornrevolution)
 * [12 years ago](https://wordpress.org/support/topic/new-menu-toggle/#post-4831531)
 * Awesome. That worked! On to styling!
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [12 years ago](https://wordpress.org/support/topic/new-menu-toggle/#post-4831534)
 * The theme also enqueues that script
 *     ```
       wp_enqueue_script( 'sorbet-menus', get_template_directory_uri() . '/js/menus.js', array( 'jquery' ), '20120206', true );
       ```
   
 * [hint ](http://codex.wordpress.org/Child_Themes)*

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

The topic ‘New Menu Toggle?’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/sorbet/1.2.3/screenshot.png)
 * Sorbet
 * [Support Threads](https://wordpress.org/support/theme/sorbet/)
 * [Active Topics](https://wordpress.org/support/theme/sorbet/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/sorbet/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/sorbet/reviews/)

## Tags

 * [toggle menu](https://wordpress.org/support/topic-tag/toggle-menu/)

 * 3 replies
 * 3 participants
 * Last reply from: [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/new-menu-toggle/#post-4831534)
 * Status: resolved