Home › Forums › Support › Remove underline sub-menu This topic has 7 replies, 2 voices, and was last updated 5 years, 2 months ago by Leo. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts March 20, 2018 at 11:26 am #524780 jcbeal I want to remove the underscore from the submenu, which is currently becoming a strikethrough anyway. March 20, 2018 at 9:34 pm #525070 LeoStaff Customer Support Hi there, Not sure what CSS you are using but I’d recommend trying this: .main-navigation .main-nav > ul > li > a { border-bottom: 1px solid transparent; } .main-navigation .main-nav > ul > li > a:hover { border-bottom: 1px solid #000; } Let me know if this helps. March 20, 2018 at 11:20 pm #525120 jcbeal The css is : .main-navigation .main-nav ul li[class*=”current-menu-“] > a:after, .main-navigation .main-nav ul li:hover > a:after, .main-navigation .main-nav ul li.sfHover:hover > a:after { content: “”; display: block; width: 100%; border-bottom: 3.5px solid #007310; position: relative; top: -10px; opacity: 1; } Thanks March 21, 2018 at 7:36 am #525351 LeoStaff Customer Support Have you tried mine? I think it should work better. If you still like yours then just make sure to add the “>” in the selector like I did. March 21, 2018 at 7:50 am #525452 jcbeal Your code is better. But underlining I just want you to cover the text. Thank you. March 21, 2018 at 5:01 pm #525836 LeoStaff Customer Support Ah ok then just try adding “>” in your selectors like I did with mine. Let me know if this helps. March 21, 2018 at 10:19 pm #526007 jcbeal Hello , This code does not show underlining. .main-navigation .main-nav > ul > li[class*=”current-menu-“] > a:after, .main-navigation .main-nav > ul > li:hover > a:after, .main-navigation .main-nav > ul > li.sfHover:hover > a:after { content: “”; display: block; width: 100%; border-bottom: 3.5px solid #007310; position: relative; top: -10px; opacity: 1; } March 22, 2018 at 8:49 am #526477 LeoStaff Customer Support Hmm can you apply it so I can see why it’s not working? Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In