WordPress.org

Support

Support » Themes and Templates » Sizing box in drop down cats

Sizing box in drop down cats

  • brianbonner
    Member

    @brianbonner

    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.

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘Sizing box in drop down cats’ is closed to new replies.