Support » Plugins » Drop down category list

  • I was using Zelig Dropdown Cats, which is not going to be supported for 2.3.

    Is there another plugin in or way to code the cat widget to wrap long cats?

    When I try to use the drop list option it extends far beyond my sidebars.

Viewing 6 replies - 1 through 6 (of 6 total)
  • MichaelH

    (@michaelh)

    Have you looked at the template tag, wp_dropdown_categories?

    Well I tried that but it just presents me with exactly the same drop down list as the widget option.

    What I need is a fix to make the text wrap and I don’t know how to do that.

    Pizdin Dim

    (@pizdin_dim)

    “What I need is a fix to make the text wrap and I don’t know how to do that.”

    I don’t believe that’s possible with HTML and that’s why dropdown lists are not usually recommended for navigation, especially when you’re trying to restrict the width.

    It must be possible because the plugin I mentioned did it.

    “It must be possible because the plugin I mentioned did it.”

    No, I don’t think so. While I haven’t used the plugin, I can’t see any feats of magic the author might have performed to cause the list entries to wrap. I know that you can restrict the width of the select element by using the style attribute, eg:

    <select name="a" id="a" style="width: 200px">

    Maybe that’s what you meant? Keep in mind that will not cause any wrapping, it just restricts the width of the dropdown to 200px. While you can also restrict each option to 200px by specifying the style attribute, that will simply truncate the text, not wrap it.

    pizdin_dim: where are you adding that style to apply it to the category dropdown in the widget?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Drop down category list’ is closed to new replies.