uunterschiedliche Linkfarben Artikel - Navigation

Hier bekommst Du deutschsprachigen Support. Keine Fehlermeldungen oder Erweiterungswünsche bitte!
Post Reply
zibu4
Posts: 5
Joined: Tue 26. Feb 2008, 13:31

uunterschiedliche Linkfarben Artikel - Navigation

Post by zibu4 »

Hallo zusammen,

ich bin ein blutiger Anfänger und stehe vor dem Berg.

Ich möchte, dass die Links in den Artikeln grau angezeigt werden und beim hovern schwarz-unterstrichen.
In der Navi sollen die Links jedoch weiss und beim hovern weiss-unterstrichen sein. die aktive Klasse soll schwarz-fett dargestellt werden.

Soviel hab ich schon mitbekommen, dass ich die Farben in der CSS-Datei deffinieren kann. Das dies prinzipiell für die zwei oben erwähnten Elemente getrenn möglich ist auch. Aber irgendwie will es nich klappen.

Für die Artikel hab ich folgendes deffiniert:

Code: Select all

a, a:link, a:visited, a:focus {
	color: #999999;
	text-decoration: none
}
a, a:active {
	color: #000000;
	text-decoration: none
}
a:hover {
	color: #000000;
	text-decoration: underline;
}
und für die Navi folgendes:

Code: Select all

nav_table, nav_table a, nav_table a:link, nav_table a:visited {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 11px;
	color: #ffffff;
	font-weight: normal;
	text-decoration: none;
}
nav_table a:active {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 11px;
	color: #000000#;
	font-weight: normal;
	text-decoration: none;
}
nav_table a:hover {
         color: #ffffff;
	text-decoration: underline;
}

nav_table_active, nav_table_active a, nav_table_active a:link, nav_table_active a:active, .nav_table_active a:visited, .nav_table_active a:hover {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 11px;
	color: #ffffff;
	font-weight: bold;
	text-decoration: none;
}
nav_table_active a:active {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 11px;
	color: #000000;
	font-weight: bold;
	text-decoration: none;
}
Vieleicht gibt es auch einen anderen Ansatz, denn am liebsten hätte ich sämtliche Links im golgenen Berich weiss und nur die Links im Hauptfenster (weiss) in grau-schwarz gehalten?!

Für Hilfe bin ich sehr dankbar...

phpwcms: 1.3.5
Navi: nav_table_column
Last edited by zibu4 on Wed 27. Feb 2008, 11:36, edited 1 time in total.
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: uunterschiedliche Linkfarben Artikel - Navigation

Post by juergen »

zibu4 wrote: phpwcms: 1.3.5
Navi: nav_table_column
hallo :)

vergiß diese Navigation:
phpwcms wrote:phpwcms: 1.3.5
Nav_List_UL
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: uunterschiedliche Linkfarben Artikel - Navigation

Post by update »

Ehe der arme Knut sich hinreissen lässt, sich zum Xten Mal hier zum Thema zu verströmen:

A.

Code: Select all

<!-- 
    body {
      margin: 0;
      padding-top: 10px;
      padding-bottom: 10px;
      padding-left: 10px;
      padding-right: 10px;

      background-color: #333333;
      color: #000000;
    }
    a, a:link, a:active, a:visited, a:hover { color: #ff9900; }
    a:visited { color: #ff9900; }
    a:active { color: #ff9900; }
  //-->
aus dem headbereich rauslöschen 8)
Lieber in die frontend.css packen...

B:
statt

Code: Select all

nav_table...
dann doch eher

Code: Select all

.nav_table....
:idea: :!:

C:
NAV_TABLE IST OUT (und wird so wohl auch nicht mehr supportet ;) )- es gibt mittlerweile bessere Lösungen

EDIT: too late - jetzt hat sich mal der arme Jürgen hinreissen lassen...
... und was ist mit mir? :shock:
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: uunterschiedliche Linkfarben Artikel - Navigation

Post by update »

Na siehste - geht doch :lol:
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: uunterschiedliche Linkfarben Artikel - Navigation

Post by juergen »

claus wrote: ... und was ist mit mir? :shock:
Du wurdest gekauft :lol: Naja, jetzt weiss Zibu4 wenn er das nächste Problem mit seiner Navigation hat, dass sie ein Überbleibsel aus einer 2004er Version ist ...
Post Reply