Site logo

[Resolved] Remove Link Underline/ Link Underline Posts Only

Home Forums Support [Resolved] Remove Link Underline/ Link Underline Posts Only

Home Forums Support Remove Link Underline/ Link Underline Posts Only

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2505488
    Benjamin

    Hi, I want the links in my posts to be underlined. I added some CSS to do this, but it’s problematic because a bunch of links are being underlined now, that I don’t want to be underlined.

    For example, it is underlining title links for featured posts on my homepage and underlining some links on buttons and titles in my posts.

    I’ll attach the example URLs to look at on my staging site in the sensitive information area. Please have a look and let me know if there is an alternative way to underline just my text links in posts or how I can adjust my code.

    Here’s the simple CSS I added to my customizer:

    /* Underline Links */
    .entry-content a {
    text-decoration: underline;
    }

    Thanks!

    #2505499
    Fernando
    Customer Support

    Hi Benjamin,

    Can you try this instead?:

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

    Let us know how it goes.

    #2505507
    Benjamin

    Perfect thank you!

    #2506546
    Fernando
    Customer Support

    You’re welcome, Benjamin!

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