Grow your CSS skills. Land your dream job.

How to add a class on Dinamic Menu on WordPress

  • Rai
    # July 12, 2012 at 12:05 pm

    Hi there!,
    I need to add a class to my ul on the dinamic menu on wordpress.
    I´m using this to register the menu on functions.php:

    // register


    function register_menus() {
    register_nav_menus(
    array(
    'menu-principal' => __('Menu'),
    )
    );
    }

    But I need to add the on the functions:

    'items_wrap'      => '
      %3$s
    ',

    With the class=”sf”

    ¿How I should do it?
    Link to codex: http://codex.wordpress.org/Function_Reference/wp_nav_menu

    Rai
    # July 12, 2012 at 12:29 pm

    Find it:

    Ya lo encontre!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".