Title: Neve menu &amp; sub menu dropdown alignment
Last modified: January 24, 2021

---

# Neve menu & sub menu dropdown alignment

 *  Resolved [yourgoodjuju](https://wordpress.org/support/users/yourgoodjuju/)
 * (@yourgoodjuju)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/neve-menu-sub-menu-dropdown-alignment/)
 * Hello and thank you in advance for assistance!
 * I am using the free Neve theme.
 * I want to align the “Our Products” primary drop down menu to the right, and the
   submenus to the left.
 * I can’t seem to isolate the two with CSS. The theme documentation worked great,
   but it’s either both menus to the left, or both to the right.
    [https://docs.themeisle.com/article/1145-how-to-align-submenu-items-to-the-left-side-in-neve](https://docs.themeisle.com/article/1145-how-to-align-submenu-items-to-the-left-side-in-neve)
 * I wanted to note that when justified to the right, the carat icon always starts
   on a new line. I also could not figure out how to fix that (any help appreciated)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fneve-menu-sub-menu-dropdown-alignment%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [danamv](https://wordpress.org/support/users/danamv/)
 * (@danamv)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/neve-menu-sub-menu-dropdown-alignment/#post-13959254)
 * Hi [@yourgoodjuju](https://wordpress.org/support/users/yourgoodjuju/),
 * This code should do the trick.
 * .primary-menu-ul .sub-menu li a {
    justify-content: left !important; } .primary-
   menu-ul:not(.sub-menu) > li:nth-child(2) { justify-content: right !important;}
 * Let us know if this worked for you.
    -  This reply was modified 5 years, 3 months ago by [danamv](https://wordpress.org/support/users/danamv/).
 *  Thread Starter [yourgoodjuju](https://wordpress.org/support/users/yourgoodjuju/)
 * (@yourgoodjuju)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/neve-menu-sub-menu-dropdown-alignment/#post-13961317)
 * Hey [@danamv](https://wordpress.org/support/users/danamv/) thank you for the 
   response. I tried the code but both menus are still left justified.
 * I’m hoping to have the primary drop down menu (WaterGuard Products, Products 
   for Shingles, etc.) right justified, and the submenus left justified.
 * Thanks!
 *  [danamv](https://wordpress.org/support/users/danamv/)
 * (@danamv)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/neve-menu-sub-menu-dropdown-alignment/#post-13990324)
 * Hi [@yourgoodjuju](https://wordpress.org/support/users/yourgoodjuju/),
 * Try the following code instead:
 * .primary-menu-ul .sub-menu li a {
    justify-content: right !important; }
 * .primary-menu-ul .sub-menu ul a {
    justify-content: left !important; }
 * Let us know if it worked.
 *  Thread Starter [yourgoodjuju](https://wordpress.org/support/users/yourgoodjuju/)
 * (@yourgoodjuju)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/neve-menu-sub-menu-dropdown-alignment/#post-14022799)
 * Hey [@danamv](https://wordpress.org/support/users/danamv/) – tried that one and
   both sets of menus are still left justified.
 *  [Vytis](https://wordpress.org/support/users/bvytis/)
 * (@bvytis)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/neve-menu-sub-menu-dropdown-alignment/#post-14054215)
 * Hi [@yourgoodjuju](https://wordpress.org/support/users/yourgoodjuju/),
 * This CSS should work for you and align content in the primary dropdown to the
   right (the submenu of that primary dropdown is already left aligned):
 *     ```
       .primary-menu-ul .sub-menu li a {
           justify-content: flex-end;
       }
       ```
   
 * I hope it helps!
 *  Thread Starter [yourgoodjuju](https://wordpress.org/support/users/yourgoodjuju/)
 * (@yourgoodjuju)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/neve-menu-sub-menu-dropdown-alignment/#post-14058197)
 * [@bvytis](https://wordpress.org/support/users/bvytis/) that worked. Thanks a 
   bunch!

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

The topic ‘Neve menu & sub menu dropdown alignment’ is closed to new replies.

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

## Tags

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

 * 6 replies
 * 3 participants
 * Last reply from: [yourgoodjuju](https://wordpress.org/support/users/yourgoodjuju/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/neve-menu-sub-menu-dropdown-alignment/#post-14058197)
 * Status: resolved