Home › Forums › Support › CSS help to add border to the top of the submenu This topic has 3 replies, 2 voices, and was last updated 3 years, 4 months ago by Ying. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts December 7, 2020 at 3:57 pm #1570945 Stacey Hi I’ve copied the CSS from this post https://generatepress.com/forums/topic/how-to-show-bold-underline-on-hover-at-primary-navigation-menu/ To create the underline under my menu items. I would like to add the same green thick border at the top of the submenu when you hover on them. At the moment it looks off as the underline is the width of the main nav menu item. Website is here: https://clwills.swish-websites.com/ Thanks for your help. December 7, 2020 at 5:45 pm #1571011 YingStaff Customer Support Hello Stacey, Try this css, it will add a boarder on top of your sub menu. .menu ul.sub-menu { border-top: 4px solid #4c9777; } December 8, 2020 at 2:00 am #1571294 Stacey Thank you that worked perfectly December 8, 2020 at 9:16 am #1571860 YingStaff Customer Support No problem 🙂 Glad to help! 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