WordPress.org

Ready to get started?Download WordPress

Forums

Clean Retina
Changing color of hyerlinks (3 posts)

  1. kprabu
    Member
    Posted 1 year ago #

    Hi,

    Could you please let me know how to (coding) change the color of hyperlinks in posts, comments?

    When I mouseover on a link (in post), comment, category, author, the color of display is blue. How to change this to some other color?

  2. boostinspiration
    Member
    Posted 1 year ago #

    Can you send the link to the website and I can have a look?

  3. kprabu
    Member
    Posted 1 year ago #

    Sure, boostinpiration.

    http://www.kprabu.com is the site. Using Google, I was able to place few lines of code to change color of hyperlink.

    Now, the issue i face is,

    1. The blog post title (in this case, 'Clear Slate, Fresh Start') is displayed in the color I wanted (orangish). But, when mouseovered on the blog post title, the color changes to Blue. How to retain this to Orang-ish color during mouseover also?

    2. The 'Read More' button has a hyperlink, so that color is also change to Orange. How to retain this button's link color to default color (white).

    Please help.

    Below is the code I have placed in Custom CSS:

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]

    #access ul li:hover > a {
    	border-top: 5px solid #FF3300;
    	color: #FF3300;
    	padding-top: 16px;
    }
    
    a:link {
    	color: #FF3300;
    }
    
    a:visited {
    	color: #FF3300;
    }
    
    a:hover {
    	color: #FF3300;
    }
    
    a:active {
    	color: #FF3300;
    }

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic