954,604 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Search font

How to change the search text font ?


search.php

<font color = "#A9A9A9">

<form action="<?php echo home_url('/'); ?>">
<input type="text" class="searchbox" name="s" value="type keywords" onFocus="if (this.value=='type keywords')this.value='';" onBlur="if (this.value=='')this.value='type keywords'" />
<input type="image" src="<?php echo get_stylesheet_directory_uri(); ?>/images/searchbutton.png" class="searchbox_submit" value="" />
</form>

</font>

This does not work. So how ?

davy_yg
Posting Whiz
377 posts since May 2011
Reputation Points: 10
Solved Threads: 0
 

Explain your question properly.
Plus, it's got some php, so I suggest first check in the php thread for any answers.

jackbauer24
Posting Whiz in Training
234 posts since Oct 2011
Reputation Points: 21
Solved Threads: 2
 

Agree with thepythonguy, please be more specific and detailed which font should be change: either the search form's text or the text of searching result.
I believe both of that can be done by CSS
.class{
font-size:??px;
}

lps
Junior Poster
117 posts since Jul 2011
Reputation Points: 13
Solved Threads: 22
 

Are you asking for changing the font style or the text in textbox itself? FYI the text is changing when you focus on textbox.

jorik
Light Poster
35 posts since Sep 2009
Reputation Points: 10
Solved Threads: 0
Infraction Points: 5
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: