Home › Forums › Support › How Do I Remove Hyperlinks from Primary Navigation? This topic has 5 replies, 3 voices, and was last updated 2 years, 6 months ago by Ying. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts October 18, 2021 at 9:19 am #1967490 Robin Hey there, I recently changed the style of my hyperlinks on my website. However there is a continuous hyperlink bold line under the primary navigation. See here. How do I remove it? TIA. Robin October 18, 2021 at 9:41 am #1967506 LeoStaff Customer Support Hi there, I can’t tell what CSS you’ve added as Autopimize is on. But make your CSS selector more specific should work. For example, instead of a { }, try .entry-content a { }, October 18, 2021 at 9:57 am #1967527 Robin Sorry, I don’t understand. I’ve just deactivated Autoptimise so hopefully you can see the CSS. TIA. October 18, 2021 at 10:03 am #1967533 YingStaff Customer Support Hi Robin, Like Leo suggested, the CSS class which adds the hyper link should be more specific: So change this CSS: a { display: inline; position: relative; border-bottom: none; text-decoration: none; box-shadow: 0 1px 0 #262626; transition: all 350ms; } to: .entry-content a { display: inline; position: relative; border-bottom: none; text-decoration: none; box-shadow: 0 1px 0 #262626; transition: all 350ms; } October 18, 2021 at 12:26 pm #1967670 Robin Wonderful. Thanks Ying, that worked. October 18, 2021 at 1:11 pm #1967702 YingStaff Customer Support No problem 🙂 Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In