Question
How do you change the color of an unvisited link as well as a visited link? I want to make unvisited links a darker blue, and the visited links a darker gray.
Environment
--
CharlesSheppard - 13 Sep 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
See
PatternSkinCustomization for general information about modifying
PatternSkin. Basically, what you're going to do is this:
- Go to PatternSkin in your installation and look at the attached css files. (I believe the one you'll want is colors.css but it might be in styles.css.) Find the style definitions associated with
.twikiLink and copy those that you want to over-ride.
- Create a new text file called something like
mystyles.css and paste in the style definitions you want to change. Edit the color attribute to your liking.
- Attach this file to some topic. I like to create a topic in the
Main web called something like MySiteSkin to hold all my custom skin files.
- Finally, in
TWiki.TWikiPreferences, or better Main.TWikiPreferences include this setting:
* Set USERSTYLEURL = %PUBURL%/Main/MySiteSkin/mystyles.css
This will make the style definitions in
mystyles.css over-ride the default skin styles.
--
LynnwoodBrown - 13 Sep 2006