Page 1 of 1

Color of visited links

Posted: Tue 26. Oct 2004, 23:15
by richk
Can someone tell me how to make the color of visited links change on my web pages? I tried setting the visited links box on my page layout but it doesn't seem to work for me.

Posted: Tue 26. Oct 2004, 23:24
by pepe
Hi richk,

you must change your Standard CSS = frontend.css (ADMIN area).

There you will find such stuff like:

Code: Select all

a, a:link, a:visited, a:active {
   color: #FF3300;
   text-decoration: none;
}
a:hover {
   color: #FF3300;
   text-decoration: underline;
}
That's your way to heaven :wink:

Posted: Thu 28. Oct 2004, 22:40
by richk
a, a:link, a:visited, a:active {
color: #FF3300;
text-decoration: none;
If I remove this section will my settings in the page layout then work? Can I just remark this part out somehow, like with // or something?

Or is there a better way?

Rich

Posted: Thu 28. Oct 2004, 23:44
by pepe
Hi richk,

i think the best is, to change the following code of the frontend.css in the following way:

Code: Select all

a { 
   color: #FF3300; 
   text-decoration: none; 
} 
a:link { 
   color: #FF3300; 
   text-decoration: none; 
} 
a:visited { 
   color: #FF3300; 
   text-decoration: none; 
} 
a:active { 
   color: #FF3300; 
   text-decoration: none; 
} 
a:hover { 
   color: #FF3300; 
   text-decoration: underline; 
}
Now you are able, to give each sequence an owne "optic"


To outcomment an element, use (for example):

text-decoration: none; // underline;

or for some lines:

/*
a:hover {
color: #FF3300;
text-decoration: underline;
}
*/