Seite 1 von 1

Linkfarben / Stylesheet zuweisen auf Autorsuche?

Verfasst: 10.11.2005 11:34
von insy
Hallo!

kleines Problemchen: ich habe das redblack-template, hab jedoch hier ein kleines farbliches Problem bei der Autorsuche.

Die Linkfarbe möchte ich in der .css nicht ändern, weil es ja sonst alle Links betreffen würde. Wie kann ich es ändern, dass mir die Links zu den Topictiteln in der Autorsuche bsp. in der Farbe #FFFFFF angezeigt werden, jedoch sonst keine Linkfarben davon betroffen sind?

Verfasst: 10.11.2005 12:37
von Markus67
Hi ...

suche in der search_results_posts.tpl

Code: Alles auswählen

<a href="{searchresults.U_TOPIC}" class="topictitle">{searchresults.TOPIC_TITLE}</a>
ersetze mit:

Code: Alles auswählen

<a href="{searchresults.U_TOPIC}" class="topicsearch">{searchresults.TOPIC_TITLE}</a>
suche in der redblack.css

Code: Alles auswählen

/* titles for the topics: could specify viewed link colour too */
.topictitle			{ font-weight: bold; font-size: 11px; color : #000000; }
a.topictitle:link   { text-decoration: none; color : #CC0000; }
a.topictitle:visited { text-decoration: none; color : #CC0000; }
a.topictitle:hover	{ text-decoration: none; color : #9d1c1c; }
danach einfügen:

Code: Alles auswählen

.topicsearch			{ font-weight: bold; font-size: 11px; color : #000000; }
a.topicsearch:link   { text-decoration: none; color : #CC0000; }
a.topicsearch:visited { text-decoration: none; color : #CC0000; }
a.topicsearch:hover	{ text-decoration: none; color : #9d1c1c; }
Im neuen Block kannst du jetzt die Farben wie gewünscht anpassen.

Markus

Verfasst: 10.11.2005 12:51
von insy
Super, danke schön. :)