Support » Fixing WordPress » wp_dropdown_categories menu styles

  • Mike-bd

    (@mikekharisma)


    I’ve been using wp-dropdown-categories in my code writing for a while. And when ever I’ve implemented it, it’s produced a standard click to dropdown, mouse down, click to select menu which I quite like and I’ve used CSS to style them.

    I’ve been writing my own multiple category selection menu based on this routine:
    $select_cats = wp_dropdown_categories( array( ‘echo’ => 0, ‘taxonomy’ => ‘category’, ‘child_of’ => ’62’, ‘hide_empty’ => 0 ) );
    $select_cats1 = str_replace( “name=’cat’ id=”, “name=’cat[]’ multiple=’multiple’ id=”, $select_cats );
    echo $select_cats;

    The style of the menu has completely changed to a window that you have to scroll down to click. No longer can you see all the options without making the window perminently huge. It sits behind the page rather than on top like the standard click, drop, click menu.

    Anyone any clues? I’d quite like to get back to the original!

    Cheers
    Mike

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘wp_dropdown_categories menu styles’ is closed to new replies.