Jump to content


These Forums Are Now Read-Only


For TubePress support, please post a question here or open a support ticket and we will be glad to assist.


Photo

How do i Change Search BOX Size?


  • Please log in to reply
1 reply to this topic

#1 Ravishankar Sugathevan

Ravishankar Sugathevan

    Member

  • Members
  • PipPip
  • 21 posts

Posted 19 April 2012 - 06:28 PM

Hi Eric
How do i Change Search BOX Size?

thanks

#2 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 21 April 2012 - 05:09 PM

First thing you'll want to do is to create and activate a custom TubePress theme. This will protect your customization from being wiped out when you upgrade TubePress. In your custom theme, you'll want to edit the file at

search/ajax_search_input.tpl.php
Around line 27 of the file you'll see the text input:

<input type="text" id="tubepress_search_ ...
You can simply add a "size" attribute to specify the width (in characters) of the text box. e.g.

<input size="30" type="text" id="tubepress_search_ ...
Does that make sense? Let me know if you need help at any step of the way.