Title: Submenu opened problem
Last modified: August 20, 2016

---

# Submenu opened problem

 *  [_OMEGA_](https://wordpress.org/support/users/_omega_/)
 * (@_omega_)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/submenu-opened-problem/)
 * Hi all, I am trying to fix a problem with a submenu.
    I have coded (as you can
   see on jsfiddle: [http://jsfiddle.net/8899x/87/](http://jsfiddle.net/8899x/87/))
   my horizontal menu and the submenu. I would like to leave the submenu opened 
   when I am in the selected child page; for example if I click on “Gallery -> Photogallery
   1”, I’d like that the submenu and the “Photogallery 1” will stay opened and highlighted.
   Obvious the same if I click on “Photogallery 2” and so on.
 * Any help please?

Viewing 1 replies (of 1 total)

 *  [Scott Fennell](https://wordpress.org/support/users/scofennellgmailcom/)
 * (@scofennellgmailcom)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/submenu-opened-problem/#post-3165091)
 * Make the sub-menu items child pages of the parent menu items. Use css to reveal
   the sub-menu items of .current-menu-item.

Viewing 1 replies (of 1 total)

The topic ‘Submenu opened problem’ is closed to new replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [submenu](https://wordpress.org/support/topic-tag/submenu/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Scott Fennell](https://wordpress.org/support/users/scofennellgmailcom/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/submenu-opened-problem/#post-3165091)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
