Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23
  1. #21
    Join Date
    Jan 2011
    Posts
    48
    Plugin Contributions
    0

    Default Re: Change Width Of Keyword Search Here Box- In My Sidebox

    Quote Originally Posted by stevesh View Post
    That's the right file. Find this:

    $content .= zen_draw_input_field('keyword', '', 'size="18" maxlength="100" style="width: ' . ($column_width-30) . 'px"') . '<br />' .

    and change the '30' value. Increasing the number makes the box smaller.
    I too am trying to change this width as the box is running out of the shaded area and into the padding (I hope that makes sense.)

    I ran the Dev Toolkit and everywhere that the code appears where I can change the 'column width of 30' I have. I have entered the number 50 (that may be too small but I have to start somewhere and then I can adjust).

    Anyway, the box has not changed from its original size no matter where I change it in the code. And the code is matching exactly what you said it would.

    What am I doing wrong???

  2. #22
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Change Width Of Keyword Search Here Box- In My Sidebox

    Don't know. A link to your site might help.

  3. #23
    Join Date
    Jan 2011
    Posts
    48
    Plugin Contributions
    0

    Default Re: Change Width Of Keyword Search Here Box- In My Sidebox

    Just so all who is struggling with this knows...the directions that Stevesh gave worked beautifully.

    It helps if you look at your code and then look twice again. Chances are if it's not working...you might have goofed up.

    Like me. I had a 1 in the 2nd column where I should have had 30+. I missed it all 3 times I tried to fix it. (hey-i'm blonde!)

    Thanks Stevesh!!!

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Search box & Search botton width control
    By Craig Hairston in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 13 Dec 2011, 04:04 AM
  2. Search text input box width (in side box)
    By joshuaholland in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 7 Apr 2010, 01:11 PM
  3. How can change search box width?
    By XiaoChin in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Feb 2010, 09:01 AM
  4. Increasing width of header search box
    By kanjigirl in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 16 Nov 2009, 08:55 PM
  5. Keyword As A Dropdown Box In Advanced Search
    By SteveCollins in forum General Questions
    Replies: 6
    Last Post: 26 Apr 2008, 02:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg