WordPress.org

Ready to get started?Download WordPress

Forums

contact form 7 how to set dropdown box size (4 posts)

  1. graeuk
    Member
    Posted 4 years ago #

    Hello,

    I have a contact form 7 form on our site and I can't see a way to set the size of a drop down box, either multi select or not.

    Can anyone point me in the right direction?

    Thanks,

    Graham.

  2. 7746T
    Member
    Posted 4 years ago #

    Has anyone found a solution to this? The width of the dropdown box extends the width of the page and it would be nice to shorten. Thanks -

  3. i2e1l
    Member
    Posted 4 years ago #

    what i did was put it in a table and it'll be the same size as the column

  4. hozefasmile2007
    Member
    Posted 3 years ago #

    Hi to all,

    There is a very simple solution to adjust the size of drop down list according to your requirement.
    Give some class to your drop down list like this:
    [select menu-945 class:mydropdown1.......

    Then go to your CSS stylesheet file and edit CSS there like this:
    .mydropdown1{
    height:65px; /* for size 4, means 4 items of list visible at a time */
    }

    Have a nice Day!

Topic Closed

This topic has been closed to new replies.

About this Topic