WordPress.org

Ready to get started?Download WordPress

Forums

expand category list display in wp-admin/post.php (6 posts)

  1. dherren
    Member
    Posted 9 years ago #

    I've searched the forums but haven't found a match yet for this.
    I would like to expand the display of the list of categories on the post.php page. There's plenty of room since I've already expanded the post input field, but I'll be darned if I can find where to expand the maximum height of the display for categories. My list of categories and sub-categories is quite long and my students are a little dense about scrolling the list...
    What file do I edit? Thanks in advance!

  2. Minna
    Member
    Posted 9 years ago #

    wp-admin.css (or the css that is there) in the wp-admin folder, and the #categorydiv height there

  3. dherren
    Member
    Posted 9 years ago #

    Thanks Minna!
    Just a clarification for those who may read this later. The id to edit is in fact:
    #categorydiv div
    and you want to change the default height of 23 em to something larger. In my case 35 was sufficient to display all the categories without generating the scroller.

  4. patrickc
    Member
    Posted 9 years ago #

    For some reason, that didn't work for me. Just so I'm not completely spacey... To fix the problem, wp-admin.css should have this modified section, right?

    #categorydiv div {
    height: 35em;
    overflow: auto;
    }

    Is there anything else I need to change? I already made my text box 20 lines tall.

  5. pericat
    Member
    Posted 9 years ago #

    I set height to "100%". Saves changing a hard limit should I create more cats than will fit within it.

  6. mlanger
    Member
    Posted 8 years ago #

    In WordPress 2.0, this now appears to be:

    #categorydiv div div {
    height: 12em;
    overflow: auto;
    }

    Thanks for posting the answer; this was driving me batty.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.