WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#13951 closed enhancement (invalid)

wp_nav_menu container class (css)

Reported by: F J Kaiser Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Menus Keywords:
Focuses: Cc:

Description

Hi,

i just played a little with the wp_nav_menu and found out, that there's the possibility to define some css and html. Sadly it adds or don't adds a surrounding div for the ul. I think there are a lot of people out there who use frameworks like 960 grid, blueprint or something similar. For all of them it would much nicer if there would the possibility to really choose *between* ul and div elements.

Change History (2)

comment:1 Utkarsh4 years ago

  • Cc admin@… added
  • Resolution set to invalid
  • Status changed from new to closed

wp_nav_menu supports passing a 'container_class' argument.

comment:2 ocean904 years ago

  • Milestone 3.1 deleted
Note: See TracTickets for help on using tickets.