Title: Style internal links
Last modified: August 20, 2016

---

# Style internal links

 *  Resolved [cableghost](https://wordpress.org/support/users/cableghost/)
 * (@cableghost)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/style-internal-links/)
 * I would like to apply different css style, such as text-decoration, to internal
   links.
 * Here is my present link code (b_text is the post content styling class):
 * `.b_text a, .link { text-decoration: none; color: #3F474E;}`
 * I have tried the following, but either it doesn’t affect the links, or if I insert.
   link, it changes the style of all links:
 * `.internal a { color: #2C40DA !important; text-decoration: underline !important;
   font-weight: normal !important;}`
 * What might be the right combination of classes to affect only internal links?

Viewing 1 replies (of 1 total)

 *  Thread Starter [cableghost](https://wordpress.org/support/users/cableghost/)
 * (@cableghost)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/style-internal-links/#post-2379835)
 * I had the syntax wrong…should be
 * `a.internal{}`

Viewing 1 replies (of 1 total)

The topic ‘Style internal links’ is closed to new replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [text-decoration](https://wordpress.org/support/topic-tag/text-decoration/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [cableghost](https://wordpress.org/support/users/cableghost/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/style-internal-links/#post-2379835)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
