[TYPO3-english] Change backgroundcolor in menu after changing CSS template

Kay Obermueller kay.obermueller at mail.ru
Mon Nov 7 22:31:50 CET 2011


Hello everyone,
I changed the CSS template for my site. In this menu the old background
colors of the list items and links are displayed nevertheless:

lib.mainmenu = HMENU
lib.mainmenu.entryLevel = 1

lib.mainmenu.1 = TMENU
lib.mainmenu.1.wrap = <ul id="navlist">|</ul>
lib.mainmenu.1.NO {
    wrapItemAndSub = <li class="main">|</li>
}

lib.mainmenu.1.ACT = 1
lib.mainmenu.1.ACT {
   wrapItemAndSub = <li class="main_active">|</li>
}

lib.mainmenu.2 = TMENU
lib.mainmenu.2.wrap = <ul id="navlist_2">|</ul>
lib.mainmenu.2 {
   NO {
      expAll = 1
      wrapItemAndSub = <li class="navlist_2_listitem">|</li>
   }

   ACT = 1
   ACT {
      wrapItemAndSub = <li class="navlist_2_listitem_active">|</li>
   }
}


As I couldn't find out so far how to get rid of the old colors, is there
a way to specify the new background color directly whithin typoscript?
Thank you in advance.

Kay




More information about the TYPO3-english mailing list