Home › Forums › Support › Align Width of Sub Menu to Parent Menu This topic has 3 replies, 2 voices, and was last updated 4 years, 10 months ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts June 26, 2019 at 1:51 am #941467 Francis How do I align the width of Sub Menu to make it relative to it’s Parent Menu? Please see the screenshot below View post on imgur.com June 26, 2019 at 4:25 am #941568 DavidStaff Customer Support Hi there, try adding this CSS: .main-navigation ul ul { width: auto; } Make sure to flush your autoptimize cache after making customizations or better still flush and disable it before hand. June 26, 2019 at 5:39 am #941639 Francis Nope,it didn’t work. Good thing, I found Tom’s suggestion in a 2017 topic, after multiple searches. https://generatepress.com/forums/topic/submenu-auto-width/ Thanks still. June 26, 2019 at 5:55 am #941658 DavidStaff Customer Support Glad you found the solution. Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In