WordPress.org

Support

Support » Themes and Templates » drop down menu width

drop down menu width

  • hi
    New to WP, migrated from greymatter. I managed to get my head around the drop down category and archive code and get it working, which is a bit of a feat for a noob like me. Anyhow, I was just wondering if there is a tag or parameter to make both of these dropdowns the same size. Also, I can’t seem to get the links list to play nice in terms of maintaining a set width. Any pointers?
    cheers
    michael

Viewing 3 replies - 1 through 3 (of 3 total)
  • u can use css to define the width of the drop downs!

    select{
    width: 20mm;
    {

    adding the code in the css file should do the trick…

    I have a drop-down categories menu in the lefthand column at http://featuringdave.com/logicalmeme/ .

    1) Is there a way to narrow the width of this drop-down, or to “forceâ€? it to stay within the width of the sidebar? The code I’m using is:

    <!-- CATEGORIES -->

    <h2 class="coltitle">Categories</h2>

      <div id="menu-left">
      <form action="<?php echo $PHP_SELF ?>" method="get">
      <?php dropdown_cats() ?>
      <input type="submit" name="submit" value="view"/>
      </form>

    <! -- END OF CATEGORIES -->

    2) How do I get the category items to be alphabetized? Ideally, I’d like the category items to be listed alphabetically by parent category, then child category.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘drop down menu width’ is closed to new replies.
Skip to toolbar