• Can’t figure out why the “display as a drop down” option for the Category Sidebar Widget is far wider than my sidebar! How to change that? I’ve looked in all my theme info like styesheet, sidebar.php, single post, index, etc and can’t find anything!

    I love the drop-down (I have tons of categories), but it’s so wide that peeps might not scroll to the right to pull it down. All tips greatly appreciated!

    Thanks! Love the widgets, but it took quite some time to figure out I needed to paste info into the Text widgets to show up, whereas I had NO problem putting the text into the Sidebar.php until I updated my theme to be compatible with WP 2.3.

    The people who write the codex and the bloggers who spread the news often forget some of us need more specific directions, like examples! I taught many computer programs, like MS Office and Photoshop in colleges and training centers for a decade. People are not intuitive, so please a little more explanation or samples?! THANKS!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have the same problem. Have you already found the solution?

    I’m dealing with the same issue. The box is dynamic and will take the length of the longest entry in it. I’m trying to figure out how to define the box width to a pixel dimension.

    One way to solve this issue is to edit the “widgets.php” file contained in the “wp-includes” folder. Around line #431, there will be a line that reads: <select name="archive-dropdown" onChange=...
    Insert style="width:9em" into that line so that it reads:
    <select name="archive-dropdown" style="width:9em" onChange=...

    Then change the “9em” to “8em”, “7em”, or whatever to suit your desired width.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Widget: Category DropDown Change Width’ is closed to new replies.