Title: Top-nav resizing problem
Last modified: August 20, 2016

---

# Top-nav resizing problem

 *  Resolved [borchy37](https://wordpress.org/support/users/borchy37/)
 * (@borchy37)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/top-nav-resizing-problem/)
 * Hi
    You’re theme is fantastic and I had no trouble customizing it.
 * But when I create a new menu and select it in Theme Locations as Top Menu (Dashboard/
   Appearance/Menus) it fails to transform to dropdown menu when resizing. When 
   I have nothing selected as Top Menu everything works fine, but it shows only 
   pages whereas I’d like to have an additional menu item.
 * I guess changing the name from top-nav in sourcecode would help, but I don’t 
   know where besides in header and css and I don’t know to what to change it.
 * Firebug tells me that following code is missing (if that helps):
 *     ```
       <div class="nav-label">Menu:</div>
           <select id="page_id" name="page_id">
       	<option value="38" class="level-0">menu item</option>
       	<option value="42" class="level-0">menu item</option>
          </select>
       </div>
       ```
   
 * Thanks.

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

 *  [Sampression](https://wordpress.org/support/users/sampression/)
 * (@sampression)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/top-nav-resizing-problem/#post-3563943)
 * Hi borchy37,
 * Here’s the solution for your problem:
    Go to script.js file on /wp-content/themes/
   sampression-lite\lib\js\script.js and comment out the line 84 which contains
 * `if(!jQuery('#top-nav').length>0){`
 * Also comment out the line 112 which contains
 * `}`
 * Please let us know if this helps.
 * Thanks
 *  Thread Starter [borchy37](https://wordpress.org/support/users/borchy37/)
 * (@borchy37)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/top-nav-resizing-problem/#post-3563957)
 * That did the trick!
 * 5 stars for the theme and fantastic support.
 * Thank you very much.

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

The topic ‘Top-nav resizing problem’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/sampression-lite/2.3/screenshot.
   png)
 * Sampression Lite
 * [Support Threads](https://wordpress.org/support/theme/sampression-lite/)
 * [Active Topics](https://wordpress.org/support/theme/sampression-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/sampression-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/sampression-lite/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [borchy37](https://wordpress.org/support/users/borchy37/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/top-nav-resizing-problem/#post-3563957)
 * Status: resolved