Title: changing multiple link colours
Last modified: September 28, 2017

---

# changing multiple link colours

 *  Resolved [davidvanstaveren](https://wordpress.org/support/users/davidvanstaveren/)
 * (@davidvanstaveren)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/changing-multiple-link-colours/)
 * Hi Tobias,
 * I would to change different link colours such as:
 * a:link,
    a:visited, a:active
 * The theme I have is already set for a specific type but I have different TD coloured
   backgrounds so the colours need to change.
 * Thanks,
 * David

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

 *  Thread Starter [davidvanstaveren](https://wordpress.org/support/users/davidvanstaveren/)
 * (@davidvanstaveren)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/changing-multiple-link-colours/#post-9537727)
 * I think I figured it out:
 * .tablepress-id-83 {
    }
 * a:visited {
    color: #800080; }
 * a:hover {
    color: #008000; }
 * a:active {
    color: #FF0000; }
 * }
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/changing-multiple-link-colours/#post-9537895)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * Nice find already! Unfortunately, nesting the code like that will not work. Instead,
   I recommend this:
 *     ```
       .tablepress a:visited {
         color: #800080;
       }
   
       .tablepress a:hover {
         color: #008000;
       }
   
       .tablepress a:active {
         color: #FF0000;
       }
       ```
   
 * This will change the link colors in all TablePress tables.
 * Regards,
    Tobias
 *  Thread Starter [davidvanstaveren](https://wordpress.org/support/users/davidvanstaveren/)
 * (@davidvanstaveren)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/changing-multiple-link-colours/#post-9539594)
 * Thanks Tobias I am going to keep this handy for next time.
 * For this project I don’t want to change the link colours in all the tables just
   specific ones as I have multiple tables with different cell colours.
 * This code will come in useful for those that want different colours for different.
   TD backgrounds.
 * Cheers to you friend and thanks as always,
 * David
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/changing-multiple-link-colours/#post-9539996)
 * Hi,
 * you could use this on individual tables as well:
 *     ```
       .tablepress-id-83 a:visited,
       .tablepress-id-83 a:hover {
         color: #008000;
       }
   
       .tablepress-id-83 a:active {
         color: #FF0000;
       }
       ```
   
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](https://wordpress.org/support/plugin/tablepress/reviews/)
   here in the plugin directory. Thanks!
 *  Thread Starter [davidvanstaveren](https://wordpress.org/support/users/davidvanstaveren/)
 * (@davidvanstaveren)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/changing-multiple-link-colours/#post-9540017)
 * Thanks Tobias I love that it will come in very handy! very cool.
 * I have written a review:
 * I love this Plugin!
 * I am an old school .html coder but somewhat new to using WordPress. I have found
   that using TablePress to be very helpful when creating tables in WP.
 * Also Tobias the creator and owner of this Plugin deserves a round of applause!
   He is very helpful and responds to any and every question, honestly I don’t know
   how he does it!
 * If you can send him a couple of bucks here and there via PayPal as his Plugin
   is free!
 * Cheers,
 * David.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/changing-multiple-link-colours/#post-9540232)
 * Hi,
 * thanks for the kind words, I really appreciate it! 🙂
 * Best wishes,
    Tobias

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

The topic ‘changing multiple link colours’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/changing-multiple-link-colours/#post-9540232)
 * Status: resolved