Title: Aligning Submenu
Last modified: October 26, 2017

---

# Aligning Submenu

 *  [Michael Allen](https://wordpress.org/support/users/mridanddawg/)
 * (@mridanddawg)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/aligning-submenu/)
 * I’m trying to get the submenu to line up with the menu. What I want is for the
   first item in each submenu to line up with Home, not it’s parent page.
 * I’ve been through everything. I’ve created a new class .submenu-button and worked
   out a few definitions with that. But, I can’t give it the alignment I want that
   way.
 * The original style.css with the .main-navigation ul li ul {} seems to provide
   the most functionality when I made the items appear horizontally. But, I just
   need that one magic trick that makes all of the different submenus for each page
   shift over and align with the Home button.
 * Can anyone figure out how to do that?
    Is there a left command (left: ?;) that
   works? Anything?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Faligning-submenu%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [teckn1caLity](https://wordpress.org/support/users/teckn1cality/)
 * (@teckn1cality)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/aligning-submenu/#post-9621760)
 * So when you hover the “About” button you want the li to be activated under the“
   Home” button?
 *  Thread Starter [Michael Allen](https://wordpress.org/support/users/mridanddawg/)
 * (@mridanddawg)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/aligning-submenu/#post-9621770)
 * Well, I’ve set the submenu to vertical alignment now. But, I want it to be horizontal.
 * In the horizontal setting, I want the li to activate under the home button. Yes.
   I would like the first subitem in each submenu to line up with the first item
   in the main menu.

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

The topic ‘Aligning Submenu’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Michael Allen](https://wordpress.org/support/users/mridanddawg/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/aligning-submenu/#post-9621770)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
