Jump to content

How Do I Change Color of Link in Google?

Recommended Posts

When I search, for example, "uii" in google, I get a box to the right side with links in blue which is what I like. But when I hover my mouse over it, the link changes to white. Look at the attached pic showing this circled in red. Where in the code can I change the link color when I hover my mouse over it?I also pasted a link to my updated CSS code below. Do take a look and let me know which element is the culprit of this. Thanks.









Link to post
Share on other sites

Do you know CSS? If you wrote it, then it should be obvious which selector is targeting which element. If you didn't write it, you should be able to know which element is being targeted based on the selectors in the stylesheet.


If you don't know CSS then read the tutorials: http://www.w3schools.com/css/

Link to post
Share on other sites
  • 3 weeks later...

that's easy you can do that in css.


I am giving a little example

<!DOCTYPE Html><html><head><title>Welcome to W3schools</title><style>a:link {color:blue};a:visited {color:red};a:hover {color:orange};a:active {color:purple};</style></head><body><a href="www.w3schools.com">Go to w3schools.com</a></body></html>
  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...