ElkArte Community

Elk Development => Theme development => Topic started by: Jorin on October 24, 2014, 03:21:13 am

Title: CSS string of board names when klicked
Post by: Jorin on October 24, 2014, 03:21:13 am
I found a bug in my theme! :o

My board names are black. But when I click on them to search for unread posts in this boards they change to my link color. Does anybody know the CSS string for "visited" board names?
Title: Re: CSS string of board names when klicked
Post by: emanuele on October 24, 2014, 04:53:04 am
a:visited

http://www.w3schools.com/cssref/sel_visited.asp
Title: Re: CSS string of board names when klicked
Post by: Jorin on October 24, 2014, 07:33:49 am
Yes, this I know! :P

I can't finde the right spot in the CSS file. Okay, I will search for "visited". Give it a try. Thought maybe you would have a quick hint. :-[
Title: Re: CSS string of board names when klicked
Post by: emanuele on October 24, 2014, 07:46:44 am
Ohh... okay! :P

It's at the very beginning of the index_light.css or index_besocial.css (i.e. at the beginning of the variant-specific css).
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: #49643d;
text-decoration: none;
}
Title: Re: CSS string of board names when klicked
Post by: Jorin on October 24, 2014, 08:11:54 am
I meant category names, not board names! :-[

/me thinks emanuele has a bad influence on him. ;)

This is used for the category names too? Then I have to change the behaviour of the visited category name links via CSS. I don't want them to change the color to another than black. In general all the links are kind of green-blue-ish, only category names are not. I will look for it tomorrow and describe the solution here.



Title: Re: CSS string of board names when klicked
Post by: TE on October 24, 2014, 09:36:37 am
Code: [Select]
.category_header a:link {
color: red:
}