Forums / Templates, Stylesheets, Page Layout / need to add width to search box

need to add width to search box

Views: 617

Results 1 to 5 of 5
18 Oct 2011, 3:28 PM
#1
mek113 avatar

mek113

New Zenner

Join Date:
Apr 2011
Posts:
99
Plugin Contributions:
0

need to add width to search box

I can't locate where to change the width of the "Search" box and the "Enter search keywords here" box. The text is running out of the box.
My temporary website address is: http://70.40.209.211/ if you want to have a look.

18 Oct 2011, 5:35 PM
#2
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: need to add width to search box

includes/templates/your_template/sideboxes/tpl_search_header.php

$content .= zen_draw_input_field('keyword', '', 'size="6" maxlength="30" style="width: 100px" value="' .

The best way to learn is to try stuff. But, back it up first.

18 Oct 2011, 5:50 PM
#3
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: need to add width to search box

PS: There are two in there that need to be changed.

The best way to learn is to try stuff. But, back it up first.

18 Oct 2011, 9:57 PM
#4
mek113 avatar

mek113

New Zenner

Join Date:
Apr 2011
Posts:
99
Plugin Contributions:
0

Re: need to add width to search box

Great - thanks, that was what I needed.

18 Oct 2011, 10:08 PM
#5
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: need to add width to search box

I also removed the word "here" on one of my sites. I thought it was rather silly since obviously that's where the search should be entered. That's done by editing:

includes/languages/english/your_template/header.php

The best way to learn is to try stuff. But, back it up first.