PDA

Shop Support News Archive - Shopbetreiber News -> Forum : ECB Icon vor Kategorienamen setzen ( Box )


jogy04
25.09.2009, 01:40
Hallo Zusammen,

würde gerne ein einfaches Pfeil Icon vor meine Kategorie Beschriftung in der Kategorie Box setzen.
Bin noch ziehmlich neu im css code. :unsure:

Habe die Stelle in der Boxes.css schon ungefähr gefunden.

/ <agl.folder "CatNavi"> /
#CatNavi { position: relative; top: 5px; width: 180px; border-top: 0px solid #d6e1c1 }
#CatNavi,
#CatNavi ul,
#CatNavi li { margin: 0; padding: 0; list-style-type: none; }
#CatNavi li { display: inline;}
#CatNavi ul { }
#CatNavi a { color: #666666; display: block; margin: 0; padding: 0.2em 0; border-bottom: 0px solid #d6e1c1 }
#CatNavi a:hover { background-color: #fff; }

In einem anderen Beitrag war auch eine Beschreibung jedoch bekomm ich das Icon dadurch nicht vor sondern über der Schrift.

Beispiel (http://anonym.to/?http://www.motivspiegel.de)

Welche Änderung muss ich genau vornehmen?

Danke im vorraus

gruss

jogy

xrone
25.09.2009, 02:30
''>ZITAT(jogy04 @ Sep 25 2009, 1:40) 196396

Welche Änderung muss ich genau vornehmen?

Danke im vorraus

gruss

jogy
[/b]

#CatNavi .CatLevel1 a { font-size: 13px; font-weight: bold;background:transparent url(/templates/shop/images/button_arrow_left.gif) no-repeat**scroll 0 4px;padding-left:20px;}

und bei

#CatNavi, #CatNavi ul, #CatNavi li

das

background:transparent url(/templates/shop/images/button_arrow_left.gif) no-repeat**scroll 0 2px;

raus

jogy04
25.09.2009, 11:35
''>ZITAT(xrone @ Sep 25 2009, 2:30) 196404
''>ZITAT(jogy04 @ Sep 25 2009, 1:40) 196396[/snapback]

Welche Änderung muss ich genau vornehmen?

Danke im vorraus

gruss

jogy
[/b]

#CatNavi .CatLevel1 a { font-size: 13px; font-weight: bold;background:transparent url(/templates/shop/images/button_arrow_left.gif) no-repeat**scroll 0 4px;padding-left:20px;}

und bei

#CatNavi, #CatNavi ul, #CatNavi li

das

background:transparent url(/templates/shop/images/button_arrow_left.gif) no-repeat**scroll 0 2px;

raus
[/b][/quote]

Hallo,

hat funktioniert. Danke dir.

gruss

jogy

jogy04
25.09.2009, 13:39
wie kann man das so einstellen das die icons in den Unterkategorien nicht mit angezeigt wird? Sonst wirkt das Menü zu überladen.

danke

xrone
25.09.2009, 20:21
''>ZITAT(jogy04 @ Sep 25 2009, 13:39) 196466
wie kann man das so einstellen das die icons in den Unterkategorien nicht mit angezeigt wird? Sonst wirkt das Menü zu überladen.

danke
[/b]


ganz einfach:

#CatNavi .CatLevel2 a { color: #01036f; font-size: 11px; font-weight: normal; padding-left: 15px; background:none;}

vielleicht noch padding-left:15px in padding-left:25px ändern