ElkArte Community

Title: category header CSS
Post by: Jorin on October 28, 2014, 05:38:42 am
Hm, when I change the category header in index_light.css to:

Code: [Select]
.category_header a:link , a:visited {
color: #464646;
font-style: italic;
}

...some of other links are also #464646 instead of #769EA6, for example visited links in "who's online" or in the board index ("latest post... from..."). Why?

My general links are set to:

Code: [Select]
/* Normal, standard links. */
a, a:link, a:visited
/* Links that open in a new window. */
a.new_win:link, a.new_win:visited {
color: #769EA6;
text-decoration: none;
}

If tried to change this to:

Code: [Select]
/* Normal, standard links. */
a, a:link, a:visited
color: #769EA6;
text-decoration: none;
}
/* Links that open in a new window. */
a.new_win:link, a.new_win:visited {
color: #769EA6;
text-decoration: none;
}

...no way. Category headers are #769EA6 then too.  :o
Title: Re: category header CSS
Post by: emanuele on October 28, 2014, 05:52:08 am
Code: [Select]
.category_header a:link , a:visited {
The part after the comma addresses any link. ;)

Try using:
Code: [Select]
.category_header a:link , .category_header a:visited {
Title: Re: category header CSS
Post by: Jorin on October 28, 2014, 05:58:12 am
You were right! Thanks! :-[
Title: Re: category header CSS
Post by: emanuele on October 28, 2014, 06:31:52 am
;D