Title: Sub Menu Problem
Last modified: August 20, 2016

---

# Sub Menu Problem

 *  [jillpond](https://wordpress.org/support/users/jillpond/)
 * (@jillpond)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/sub-menu-problem-2/)
 * I’ve created a menu on my site [http://www.girlsrite.com](http://www.girlsrite.com),
   and the page “Workshops” should have 3 children/submenus. I’ve added them all
   to the main menu, then I’ve dragged the 3 ‘children’ to line up under and indented
   the parent. It looks perfect, and when I go to save it, they pop back over to
   the left, into the default position.
    So, it should look like this Workshops (
   indented)child (indented)child (indented)child but when I save, it looks like
   this Workshops child child child Any suggestions? This was working months ago,
   and it might have something to do with the theme I’m using- Headway Themes… Maybe
   a glitch? Help- my menu looks awful! Jill pond [jillpal@hotmail.com](https://wordpress.org/support/topic/sub-menu-problem-2/jillpal@hotmail.com?output_format=md)

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

 *  [ildario](https://wordpress.org/support/users/ildario/)
 * (@ildario)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/sub-menu-problem-2/#post-3004293)
 * Maybe it’s related to the “depth” parameter of your menu. Try opening your “header.
   php” (the one inside your themes/YOURTHEME) folder and find a line of code like
   this:
 * `<?php wp_nav_menu(array(`
 * Check if there is a parameter on the array declaring the “depth” of the menu,
   it should be something like this:
 * `<?php wp_nav_menu(array('theme_location' => 'headerNav', 'container' => false,'
   depth' => 2, 'fallback_cb' => false, 'menu_class' => 'headerNav')); ?>`
 * Plain text to bold the parameter that matters (the others are only samples):
 *  <?php wp_nav_menu(array(‘theme_location’ => ‘headerNav’, ‘container’ => false,**‘
   depth’ => 2**, ‘fallback_cb’ => false, ‘menu_class’ => ‘headerNav’)); ?>
 * Even if this works, you’ll probably need to make your menu compatible with dropdowns
   trough some CSS, but that’s another point. Give it a try…
 *  Thread Starter [jillpond](https://wordpress.org/support/users/jillpond/)
 * (@jillpond)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/sub-menu-problem-2/#post-3004355)
 * I’m very new at this so bear with me.
    What folder? The one installed on my hard
   drive?
 *  [ildario](https://wordpress.org/support/users/ildario/)
 * (@ildario)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/sub-menu-problem-2/#post-3004405)
 * Yes, but if you’re really that “raw” on doing this i don’t know if it would be
   the best choice to deal with those files.
 * **Always have one thing in mind: Doesn’t matter what you do, the first thing 
   you do is BACKUP ok? **So, if you’re gonna change a file, backup it first (copy
   it and rename it with another reference name, in this case i would call it header-
   backup083012.php).
 * Now, yes, you should go to your local file (the one on your hard drive), change
   it and then upload it to the server trough your FTP program of choice.
 * You’ll find the file i’ve point out at the wp-content/themes/YOURTHEME/header.
   php

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

The topic ‘Sub Menu Problem’ is closed to new replies.

## Tags

 * [child](https://wordpress.org/support/topic-tag/child/)
 * [parent](https://wordpress.org/support/topic-tag/parent/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [ildario](https://wordpress.org/support/users/ildario/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/sub-menu-problem-2/#post-3004405)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
