Title: Insert/edit link
Last modified: August 19, 2016

---

# Insert/edit link

 *  [johnrist](https://wordpress.org/support/users/johnrist/)
 * (@johnrist)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/insertedit-link/)
 * Hi,
 * Can someone help me. I don’t know a whole lot of code. I’m trying to get the 
   font on a hyperlink to change color when i hover my mouse over the link. In the
   insert/edit link events window, i’ve tried entering in everything i can think
   of in the visual editor. I don’t know what to put in onmouseover to make the 
   color change?
 * This stuff is so frustrating. I’ve spent all day trying to google for an answer
   and have come up with nothing for visual entries.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [@mercime](https://wordpress.org/support/users/mercime/)
 * (@mercime)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/insertedit-link/#post-1817412)
 * > get the font on a hyperlink to change color when i hover my mouse over the 
   > link.
 * Add to your active theme’s style.css
    `a:hover { color: #000066; }` change color
   to taste.
 *  Thread Starter [johnrist](https://wordpress.org/support/users/johnrist/)
 * (@johnrist)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/insertedit-link/#post-1817492)
 * I’m really sorry. I don’t mean to sound ignorant, but I specified on my message
   that I don’t really understand code that well, so I was wondering what I need
   to do to enter something under onmouseover in the Insert/edit link events window
   with the visual editor. I also don’t know all these codes for colors. My main
   page [http://www.sterlinghometheater.com](http://www.sterlinghometheater.com)
   on the right side is what I want. When you hover the pointer over recent post,
   tetimonies, pages etc… the font changes red. I’ve looked everywhere to try to
   mimic that but can’t find it anywhere?
 *  [@mercime](https://wordpress.org/support/users/mercime/)
 * (@mercime)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/insertedit-link/#post-1817657)
 * The hover color on the right sidebar of your site is #8b0024
    You cannot change
   the color of link hover in the insert/edit box in write panel.
 * You should change the color in your active theme’s style.css file. Open up the
   style.css with a text editor like Notepad or bbedit. Then add this after #nav
   block
 * `a:hover ( color: #8b0024; }`
 *  Thread Starter [johnrist](https://wordpress.org/support/users/johnrist/)
 * (@johnrist)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/insertedit-link/#post-1817659)
 * Maybe I’m not explaining this correctely. Still confused. If I change the color
   in the active themes style.css, how do i apply that to a selected hyperlink phrase
   or word? If you look on my main page, the words Sterling Home Theater, computer,
   home theater, electronics, the pointer will change to a hand indicating a hyperlink
   that i have setup. All I want to happen is when I hover over the words, it will
   change to red. I know how to setup the word with hyperlink, just don’t know how
   to change the color.
 *  [@mercime](https://wordpress.org/support/users/mercime/)
 * (@mercime)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/insertedit-link/#post-1817666)
 * I now understand why you’re getting confused with my suggestion to add styling
   for links in your style.css when I looked at the source code of your webpage.
   You are used to adding inline styles which you might have copied from MSWord 
   or other application.
 * What I have been trying to explain here is the correct way to add styling for
   the elements of your site. Inline styling is bad because it could clash with 
   your next theme should you change it. Then, you would have to change every instance
   of the inline styling in all your posts, not good at all. But with one line of
   a:hover in your active theme’s style.css, the link WILL CHANGE color when you
   hover over any link within the content area. Your top navigation and the sidebar
   links have their respective targetted stylings in the style.css for the hover
   state.
 * More importantly, online visitors might not even hover over your content’s word,
   keyword or phrase which are links because there’s no visual difference between
   the links and text within your content. So I will suggest adding this styling
   to your style.css file BEFORE a:hover I gave above.
 * `a:link { text-decoration: underline; color: #1FB3DD; }`

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Insert/edit link’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [@mercime](https://wordpress.org/support/users/mercime/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/insertedit-link/#post-1817666)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
