WordPress.org

Ready to get started?Download WordPress

Forums

Style Specific Width for WP Categories Dropdown Widget (2 posts)

  1. thomstark
    Member
    Posted 6 years ago #

    I have a simple question. I'm trying to make all my dropdowns in my sidebar the exact same width. I can easily set a fixed width for my non-widget HTML dropdowns, adding style="width:297px" to the <select> command. I'm trying to do this to the WP Categories Dropdown Widget, but I don't know PHP well enough to know where or how to do this. I've been looking through widgets.php, but haven't found any clues. Please help!

  2. dkusleika
    Member
    Posted 5 years ago #

    You can add this to your style sheet

    #cat {
    width: 297px;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic