[TYPO3-english] HMENU: add class only in one item

Alessandro Tuveri at at uniud.it
Thu Jun 12 10:21:02 CEST 2014


Hi
maybe the simplies solution is to style the last item using

ul li:last-child {
   ...
}

hope this can help
________________________________________
Da: typo3-english-bounces at lists.typo3.org <typo3-english-bounces at lists.typo3.org> per conto di Iban <cardona at opus5.info>
Inviato: giovedì 12 giugno 2014 09:01
A: typo3-english at lists.typo3.org
Oggetto: [TYPO3-english] HMENU: add class only in one item

Hello,

I have this HMENU in my ts setup configuration:

temp.links = HMENU
temp.links.special = list
temp.links.special.value = 1,2,3,4
temp.links {
      1 = TMENU
      1 {
         wrap = <ul>|</ul>
         NO.linkWrap = <li>|</li>
      }
}

I'd like to add a class only in the last li tag. Any suggestion?

Thank you so much!

_______________________________________________
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