[Resolved] Removing Decoration On All Links

Home Forums Support [Resolved] Removing Decoration On All Links

Home Forums Support Removing Decoration On All Links

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1662505
    Simon

    I’m sorry, this is a real beginner’s question but I’m looking to remove bold and underline from all links, sitewide.

    I tried this but I think I’m missing something…

    a {
    text-decoration: none;
    }

    #1662516
    Ying
    Staff
    Customer Support

    Hi Simon,

    Try this:

    a {
        font-weight: normal;
        text-decoration: none;
    }

    But this CSS selector is very basic, it could be easily overridden by other CSS if there’s one, so it might not work for all the links πŸ™‚

    #1662523
    Simon

    Thank you Ying, that’s worked for the bold. Is there any way to remove underline too? I thought it was already included in text-decoration: none; but obviously not! πŸ™‚

    #1662530
    Leo
    Staff
    Customer Support

    Can you link me to the specific page in question?

    #1662854
    Simon

    Hi Leo, it’s sidewide but here’s the latest post:

    Looking to remove underline from posts and pages.

    #1662881
    Elvin
    Staff
    Customer Support

    Hi there,

    You have this CSS on your Appearance > Customize > Additional CSS

    .entry-content a:hover {
        text-decoration: underline;
    }

    Remove this CSS so your links don’t have underline on hover. πŸ™‚

    A wise man once said:
    "Have you cleared your cache?"

    #1662892
    Simon

    Thank you Elvin! πŸ™‚

    #1662911
    Elvin
    Staff
    Customer Support

    No problem. πŸ˜€

    A wise man once said:
    "Have you cleared your cache?"

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