Title: LINK COLOUR
Last modified: August 22, 2016

---

# LINK COLOUR

 *  Resolved [simonsucksmith](https://wordpress.org/support/users/simonsucksmith/)
 * (@simonsucksmith)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/link-colour-1/)
 * Hi thanks for all the input – is working really well now.
 * Sorry to be a pain, but is there a way I can assign a particular link colour 
   as well, I want to make to link stand out and use a green background with white
   text, and then the green turns to Orange on hover. I have been trying to edit
   the CSS and must be missing something.
 * I want to keep my regular links the same colour, just change the “More Info…”
   link colour.
 * No probs if not.
 * Thanks
    Simon
 * [https://wordpress.org/plugins/cc-child-pages/](https://wordpress.org/plugins/cc-child-pages/)

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

 *  Plugin Author [caterhamcomputing](https://wordpress.org/support/users/caterhamcomputing/)
 * (@caterhamcomputing)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/link-colour-1/#post-5499938)
 * Hi again Simon
 * No problem.
 * I’ve just been testing out the CSS I posted in the other thread, and didn’t have
   any problems with using it.
 * I’ve made some amendments and posted it below. (Basically, I have just added 
   the !important flag to the CSS settings for the colours in case something is 
   overriding them …)
 *     ```
       p.ccpages_more a,
       p.ccpages_more a:link,
       p.ccpages_more a:visited,
       p.ccpages_more a:active {
           background: green !important;
           color: white !important;
           padding: 5px;
       }
   
       p.ccpages_more a:hover {
           background: orange !important;
       }
       ```
   
 * (Obviously, substitute your preferred colours for the `green`, `orange` and `
   white` specified above …)
 * I’ve also been totally “belt and braces” and set the colours for all of the pseudo-
   classes of the `a` tag.
 *  Plugin Author [caterhamcomputing](https://wordpress.org/support/users/caterhamcomputing/)
 * (@caterhamcomputing)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/link-colour-1/#post-5500003)
 * I’ve applied the CSS from my previous post to a new section on the [demo page](http://ccchildpages.ccplugins.co.uk/)
   titled “Custom CSS Styling”

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

The topic ‘LINK COLOUR’ is closed to new replies.

 * ![](https://ps.w.org/cc-child-pages/assets/icon-256x256.png?rev=3451096)
 * [CC Child Pages](https://wordpress.org/plugins/cc-child-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cc-child-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cc-child-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/cc-child-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cc-child-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cc-child-pages/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [caterhamcomputing](https://wordpress.org/support/users/caterhamcomputing/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/link-colour-1/#post-5500003)
 * Status: resolved