Welcome to Geeklog, Anonymous Tuesday, November 26 2024 @ 04:26 pm EST
Geeklog Forums
Color of Visited Links
sroknmar
Anonymous
In themes, I've noticed that some themes (clean) allow links and visited links to be different color fonts.
In other themes, one constant color is maintained (classic, for example). I've looked in the style.css, but I haven't found where this parameter is selectable.
I'd like to change the mandated linked text color in the classic theme...where would I find that specification in the code?
Thanks....you guys are awesome.
5
5
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
There are two ways to define link colors. The old style is to define them in the <body> tag, e.g. (taken from Classic's header.thtml)
<body link="#333366" vlink="#333366" alink="#333366">
That's the color for normal, visited, and active links, respecitvely.
The modern way is to do it in CSS, using a:link, a:visited, a:hover, and a:active.
I'd suggest you refer to a CSS reference for details.
bye, Dirk
5
5
Quote
All times are EST. The time is now 04:26 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content