Home › Forums › Support › Align submenu by menu item. This topic has 6 replies, 2 voices, and was last updated 6 years, 8 months ago by Leo. Viewing 7 posts - 1 through 7 (of 7 total) Author Posts August 4, 2017 at 11:11 am #359788 Olesya In the theme, the submenu is aligned on the left side of the menu item. I need to align it on the right side of the menu item. I tried to do it using css, but so far it has failed. What are the ways to change the align? Css or javascript? August 4, 2017 at 11:26 am #359790 Olesya Thanks! August 4, 2017 at 11:49 am #359813 LeoStaff Customer Support Hi there, Give this CSS a shot: .main-navigation .main-nav ul ul li a { text-align: right; } Let me know. August 4, 2017 at 11:55 am #359818 Olesya Did not work. The text shifted, and the block remained in place. August 4, 2017 at 11:57 am #359820 LeoStaff Customer Support Try this: https://docs.generatepress.com/article/navigation-dropdown/#open-sub-menus-to-the-left August 4, 2017 at 12:05 pm #359825 Olesya Many thanks! Everything worked out! August 4, 2017 at 12:07 pm #359827 LeoStaff Customer Support No problem! Author Posts Viewing 7 posts - 1 through 7 (of 7 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In