Forums / Templates, Stylesheets, Page Layout / resize search field in header

resize search field in header

Views: 1,877

Results 1 to 4 of 4
3 Jul 2011, 11:57 PM
#1
ivanna avatar

ivanna

Zen Follower

Join Date:
Jan 2011
Location:
Texas, USA
Posts:
171
Plugin Contributions:
0

resize search field in header

I have searched everywhere to find this answer. I have a search field and button in the header that I want to make bigger.
I found this information from firebug

<div id="navMainSearch"> <form method="get" action="http://xx.xx.xx.xxx/~userid/catalog/index.php?main_page=advanced_search_result" name="quick_find_header"> <input type="hidden" value="advanced_search_result" name="main_page"> <input type="hidden" value="1" name="search_in_description"> <input type="text" onblur="if (this.value == '') this.value = 'Enter search keywords here';" onfocus="if (this.value == 'Enter search keywords here') this.value = '';" value="Enter search keywords here" style="width: 100px" maxlength="30" size="6" name="keyword"> <input type="submit" style="width: 45px" value="Search"> </form> </div>

and I cannot find anything in CSS which relates with it.
I searched a good many times in developer area of admin which gave many files to check. I have look everywhere but do not know where to change the values. PHP is gobledygook for me.

I want to change style width for the field and the submit button.

can someone point me to the right direction please?

thank you
Ivanna

4 Jul 2011, 3:15 AM
#2
gaurav10feb avatar

gaurav10feb

Zen Follower

Join Date:
Jan 2010
Location:
Australia
Posts:
243
Plugin Contributions:
1

Re: resize search field in header

please add ur site link so we can have a look and advise you appropriate.

Believe it or not But My existence is illusional

4 Jul 2011, 7:53 AM
#3
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: resize search field in header

Your search box has the following HTML attribute> style="width: 100px"You could use the Admin > Tools > Developer Toolkit to find the file where the field is being generated and then increase its width from 100px.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

5 Jul 2011, 8:06 PM
#4
ivanna avatar

ivanna

Zen Follower

Join Date:
Jan 2011
Location:
Texas, USA
Posts:
171
Plugin Contributions:
0

Re: resize search field in header

I did this and it worked. I think before that I use wrong search words.

thank you
Ivanna