GetSimple Support Forum

Full Version: How to set class on li of navigation menu
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The <li> of the navigation element seams generated by GS via the:
PHP Code:
<?php get_navigation(); ?>
How can I add a class on the navigation <li> in the theme's html code?
its a hack but you can pass a prefix with a space in it

function get_navigation($currentpage,$classPrefix = "")

get_navigation($slug,"custom ");
Ok thanks, I didn't understand that part of the wiki-documentation