[TYPO3-english] Special Style TOPNAV

Sergey Alexandrov serg at alexandrov.us
Thu Oct 3 16:59:16 CEST 2013


try then you'll have different classes for all menu items

lib.mainMenu.1.NO{
allWrap.insertData=1
wrapItemAndSub=<li>|</li>
*ATagParams**.**dataWrap****=****class****=****"m**{register**:count_MENUOBJ**}**"***
}

On 10/3/2013 10:53 AM, Miguel wrote:
> I'm trying to make a simple "hack" on the menu, so i can apply a 
> different style to  that link...That special link has some subpages, 
> so i'm trying to use the command " IFSUB" to apply the styles 
> defined...The problem is that i have other links with subpages, so 
> obviouslly all the links with subpages get those styles.
>
> So, what i'm trying to do is to apply the styles only to that specific 
> page UID, which is "30". However, i'm not succeeding this, so here is 
> my code for the experts to analyze:
>
> IFSUB = 1
>
>
>  IFSUB {
>      [PIDupinRootline = 4,13 ]
>   wrapItemAndSub = <li id="buy_now">|</li>  }
>
> Please, can someone give me a hand ?
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list