[Resolved] How Do I Remove Hyperlinks from Primary Navigation?

Home Forums Support [Resolved] How Do I Remove Hyperlinks from Primary Navigation?

Home Forums Support How Do I Remove Hyperlinks from Primary Navigation?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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

    #1967506
    Leo
    Staff
    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 { },

    #1967527
    Robin

    Sorry, I don’t understand. I’ve just deactivated Autoptimise so hopefully you can see the CSS.

    TIA.

    #1967533
    Ying
    Staff
    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;
    }
    #1967670
    Robin

    Wonderful. Thanks Ying, that worked.

    #1967702
    Ying
    Staff
    Customer Support

    No problem 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.