Target only underline link in paragraph

This topic is: Resolved

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!

This topic contains 2 replies, has 2 voices, and was last updated by  Erick 1 year, 6 months ago.

  • Author
    Posts
  • #12115

    Erick
    Member
    Post count: 1024

    I was wondering if there is a way to only target the underline in texts that are hyperlinked. I am using the next code and it works really well the only thing is that it affects some of the other items included in the entry content tag

    
    .entry-content a:hover {
        color: red
    }

    is there a way to do this with only the p { tag?

    thank you

  • #12119

    Jacob
    Staff
    Post count: 2420

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #12147

    Erick
    Member
    Post count: 1024

    That did it! I was soo close though lol 🙂 I tried a bunch alterations using the p but none work.

    I did

    
    p .entry-content a:hover{
        color: red
    }
    
    also 
    
    .entry-content a:hover p{
        color: red
    }
    

    Its funny how you have to place everything in proper order. Thank you jacob 🙂

You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!