Hallo zusammen,
wie spreche ich den activen Zustand der Elemente im Kategoriebaum in der Sidebar beim Wave-Theme in SASS an?
.nav-pills{ >li{ &.active{ >a{ background-color: #fff; } } } }
So klappts nicht.
Viele Grüße
.active wäre eine Klasse, der Zustand ist immer mit : also &:active
Ja danke, hab es auch schon mit Zustand ausprobiert, klappt auch nicht. Ist dennoch eine class die da gesetzt wird, z.B hier: <li class="[{if $oContentCat && $oContentCat->getId()==$_oCont->getId()}] active [{else}] end [{/if}]" >
<li class="[{if $oContentCat && $oContentCat->getId()==$_oCont->getId()}] active [{else}] end [{/if}]" >
Hier ein Link zum Template: categorytree
Grad mal ausprobiert klappt bei mir so.
Klappt bei mir jetzt auch. :’)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.