Menu Manager: How to target last <li>?
Posted: Sun Nov 12, 2006 11:27 pm
Hi any expert on Menu Manager
I try to adapt the simple_navigation.tpl on a CMS Made Simple 1.0.2 installation. I have created a simple vertical navigation with each of four main levels with its children packed into a rounded box like this:

As you can see on the image its not quite perfect: I would need to add a rounded bottom border to the last (visible) child("Blogs") in the active main menu item ("Werkzeuge"). But how can I address this last -element?
The output from the menu manager should look something like this:
Startseite
Werkzeuge
CMS
Blogs
Inhalte
Kontakt
Then I could attach a background-image to the li .lastChild selector in the CSS.
I hope I made my case clear enough - if not please ask - and please, help!
Thank you very much!
Oliver
[gelöscht durch Administrator]
I try to adapt the simple_navigation.tpl on a CMS Made Simple 1.0.2 installation. I have created a simple vertical navigation with each of four main levels with its children packed into a rounded box like this:
As you can see on the image its not quite perfect: I would need to add a rounded bottom border to the last (visible) child("Blogs") in the active main menu item ("Werkzeuge"). But how can I address this last -element?
The output from the menu manager should look something like this:
Startseite
Werkzeuge
CMS
Blogs
Inhalte
Kontakt
Then I could attach a background-image to the li .lastChild selector in the CSS.
I hope I made my case clear enough - if not please ask - and please, help!
Thank you very much!
Oliver
[gelöscht durch Administrator]