Title: Link attribute changes
Last modified: August 30, 2016

---

# Link attribute changes

 *  Resolved [jennysue19](https://wordpress.org/support/users/jennysue19/)
 * (@jennysue19)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/link-attribute-changes/)
 * I am using the Twenty Twelve theme and having problems with defining how links
   should look, particularly visited links.
 * This is the site
 * [http://www.anderson22class.co.uk](http://www.anderson22class.co.uk)
 * Please go to the end of the text on the home page and look at the links for ‘
   contact page’, ‘Join the Association’ and ‘HERE’ which goes to the For Sale/Wanted
   page
 * Before using the plugin, I tried changing them manually, but the a:visited never
   worked.
 * I have now tried WITH the plugin, both for the whole site and the site’s home
   page but whatever color I try to use for the visited status, it stays grey. Having
   gone to grey, they then don’t even respond to hovering.
 * I suspect that it is being overridden by something in the main CSS but cannot
   find where.
 * Hope you can help
 * [https://wordpress.org/plugins/wp-add-custom-css/](https://wordpress.org/plugins/wp-add-custom-css/)

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

 *  Plugin Author [Daniele De Santis](https://wordpress.org/support/users/danieledesantis/)
 * (@danieledesantis)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/link-attribute-changes/#post-6736113)
 * Hi,
    there’s a more specific rule in your theme’s stylesheet:
 *     ```
       .entry-content a:visited, .comment-content a:visited {
           color: #9f9f9f;
       }
       ```
   
 * which overrides the one – which is more generic – that you put in the plugin’s
   stylesheet.
 * Hope it helps
    Daniele
 *  Thread Starter [jennysue19](https://wordpress.org/support/users/jennysue19/)
 * (@jennysue19)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/link-attribute-changes/#post-6736157)
 * Daniele
 * Thank you for that – I thought that the rule in the main stylesheet was only 
   referring to post page content and comments rather than static page content as
   well. Maybe better commenting would have helped me from the theme designer!
 * Now I know where to go to fix my problem which is great and will make the site
   owner happy.
 * I probably didn’t need your plugin at all but will leave it in for now and it
   is good to know about it for the future.
 * Jenny

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

The topic ‘Link attribute changes’ is closed to new replies.

 * ![](https://ps.w.org/wp-add-custom-css/assets/icon-256x256.png?rev=1001727)
 * [WP Add Custom CSS](https://wordpress.org/plugins/wp-add-custom-css/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-add-custom-css/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-add-custom-css/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-add-custom-css/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-add-custom-css/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-add-custom-css/reviews/)

## Tags

 * [active](https://wordpress.org/support/topic-tag/active/)
 * [attributes](https://wordpress.org/support/topic-tag/attributes/)
 * [hover](https://wordpress.org/support/topic-tag/hover/)
 * [link](https://wordpress.org/support/topic-tag/link/)

 * 2 replies
 * 2 participants
 * Last reply from: [jennysue19](https://wordpress.org/support/users/jennysue19/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/link-attribute-changes/#post-6736157)
 * Status: resolved