Target only underline link in paragraph

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

Status: resolved
  • This topic has 2 replies, 2 voices, and was last updated 4 y, 10 mo by  Erick.
Viewing 2 reply threads
  • Author
    Posts
    • #12115

      Erick
      Member

      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

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

      Login | Register | Forgot Password?

    • #12147

      Erick
      Member

      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 🙂

Viewing 2 reply threads
  • You must be logged in to reply to this topic.

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

© Copyright 2020 by wpthms.com. All Rights Reserved.