How to increase width of search box

  • Author
    Posts
  • #1477057

    donka61
    Member

    I would like to increase the width of the search box on the top of all my pages about 30 px. Here is an image of how it looks right now:

    I would appreciate any help on this matter.

    The blog I need help with is parishconnections.wordpress.com.

    #1477106

    donka61
    Member

    I think I figured this out. See below. But by increasing the max-width, is that going to cause any problems anywhere else?

    #searchform input {
    display: inline;
    max-width: 160px;
    width:148px;
    text-align: left;
    }

    #1477108

    donka61
    Member

    The max width was 140 which prevented me from increasing width, so i adjusted the max-width before increasing width. Since there is no reason to have a max-width greater than the width i have subsequently dreased the max-width (last post) from 160 to 148px.

    #1477114

    No, it will not cause any problems, and good job on figuring that out!

    #1477128

    donka61
    Member

    Thanks :)

    #1477130

    You are welcome.

The topic ‘How to increase width of search box’ is closed to new replies.