I am using the Site Map module in my site but I need to style my list items individually. Is there a way to add a different class to each list item in the site map?


I prefer to use Menu Block blocks on a basic page for building a sitemap - it gives more control over the menu order, title display, etc. (unless, of course, you need the RSS feed icons in the sitemap - then the Sitemap module is more useful.) With Menu Block, you get a unique mlid class for each list item.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.