Color of visited links

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
richk
Posts: 24
Joined: Sun 24. Oct 2004, 03:24

Color of visited links

Post 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.
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post 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:
richk
Posts: 24
Joined: Sun 24. Oct 2004, 03:24

Post 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
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post 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;
}
*/
Post Reply