WordPress.org

Support

Support » Themes and Templates » Small wierd link-color problem

Small wierd link-color problem

  • Throwing up a temp design on my blog. All is fine (oh, well) except from the behaviour of the links in the right column under the heading “Oddities…”. Fore some strange reason only some of the links – by random it seemes – follow the css rule to become blue. The others follow the a mix of other rules and the side wide rule!?

    Surely something simple. Any ideas?

    Oh, and this is the site – http://apt47.com

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Well found out that it was a problem of hierarchy in he css file – by placing that rule at the bottom of the section it works. But then the other links in that column (class ID) becomes blue, again at random, instead of black – so it’s the same problem.

    I couldn’t load your style sheet, but judging from the links in your sidebar, you need to change the #sidebar a:visited color to what ever it is you want, if you don’t want the blue. #sidebar a, #sidebar a:hover is currently black.

    Couldn’t load the stylesheet? that’s strange. My theme is written from scratch so I don’t have the clever names and layouts kubrick has 🙁 anyway.. thing is that rules are being overridden for some reason i dont understand.

    The rule I’m using:

    #content2 a:link, a:visited {
    color: #000;
    text-decoration: none;
    }

    #content2 a:hover {
    color: #000;
    text-decoration: underline;
    }

    #content2 .oddities a:link, a:visited, a:hover {
    color: #A47119;
    text-decoration: none;
    }

    Doesn’t seem to matter how I move then around. Always wrong somewhere.

    You can’t carry the #content2 over to the a:visited, meaning you must add the block element to both, change it to #content2 a, content#2 a:visited {…
    And when I said I couldn’t load the style sheet, it was late, and I was only using the FF Web Dev plugin, it was choking on the fact that you call a print.css but don’t have one? Not sure. But I could copy and paste the location of the style sheet and load it directly.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Small wierd link-color problem’ is closed to new replies.