• Resolved jennysue19

    (@jennysue19)


    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

    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Daniele De Santis

    (@danieledesantis)

    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

    (@jennysue19)

    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.