WordPress.org

Ready to get started?Download WordPress

Forums

Expound
[resolved] Change color of text links (3 posts)

  1. Ray Davies
    Member
    Posted 11 months ago #

    How can I change the colors of my content hyperlinks without messing up my main menu? I tried adding
    a:link {
    COLOR: #0000FF;
    }
    a:visited {
    COLOR: #800080;
    }
    a:hover {
    COLOR: #FF0000;
    }
    a:active {
    COLOR: #00FF00;
    }
    to my child-theme css but it totally screwed my main menu:-(
    Cheers guys

  2. LinuxPanda
    Member
    Posted 10 months ago #

    Use the following format to change the colour of the links in content area. :)

    .site-content .entry-content a {
    }
    
    .site-content .entry-content a:hover {
    }
    
    .site-content .entry-content a:active {
    }
    
    .site-content .entry-content a:visited {
    }
  3. Ray Davies
    Member
    Posted 10 months ago #

    Magic!! Thanks a lot!

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.