Home › Forums › Support › Targeting Only the Sub-Menu This topic has 3 replies, 2 voices, and was last updated 7 years, 2 months ago by Leo. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts January 15, 2019 at 9:00 am #782732 Cori Hello, I used this CSS to add a custom separator to the nav menu: .main-navigation .main-nav ul li a:before { content: “/ “; color: #C23631; } How do I exclude the submenu? I don’t want the “/” character to show there. Thanks in advance! January 15, 2019 at 11:00 am #782843 LeoStaff Customer Support Hi there, Try this: .main-navigation .main-nav > ul > li > a:before { content: "/ "; color: #C23631; } More info here: https://www.w3schools.com/cssref/sel_element_gt.asp January 15, 2019 at 11:18 am #782875 Cori That worked perfectly. Thanks a bunch! January 15, 2019 at 2:16 pm #783009 LeoStaff Customer Support No problem 🙂 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