WordPress.org

Ready to get started?Download WordPress

Forums

Sizing box in drop down cats (2 posts)

  1. brianbonner
    Member
    Posted 8 years ago #

    I cannot seem to figure out a way to size the width of the drop down cats box. It goes outside the sidebar div, and nothing I have tried in CSS has had an affect. Can anyone help with this one?

    Thanks.

  2. Ming
    Member
    Posted 8 years ago #

    The default size of the select box is determined by the width of the longest item it contains. You should be able to use CSS to control it (but I'm not sure if all/what browsers honor this).

    In your css file add:
    select { width: 40px; }

    That will change the width of ALL select boxes so you might want to add a class to target a specific select box.

Topic Closed

This topic has been closed to new replies.

About this Topic