Customizing SMF > SMF Coding Discussion
How do I incase the length of the search text box?
Krash.:
CSS should contain font size - that will affect the size of the box. You might also be able to change the size using inline <style=>.
ApplianceJunk:
Here is what I'm looking at in default/css/index.css
I'm I looking in the right file at the correct section of code?
--- Code: ---/* Styles for the basic search section.
------------------------------------------------- */
#searchform, #simple_search p
{
padding: 0.5em;
margin: 0;
}
#simple_search, #simple_search p, #advanced_search
{
text-align: center !important;
margin: 0;
}
#search_error
{
font-style: italic;
padding: 0.3em 1em;
}
#search_term_input
{
font-size: 115%;
margin: 0 0 1em;
}
--- End code ---
Krash.:
Try changing font-size in #search_term_input.
ApplianceJunk:
--- Quote from: Krash. on April 12, 2012, 04:16:25 PM ---
Try changing font-size in #search_term_input.
--- End quote ---
Tried it, but it did not seem to change anything.
Also tried changing margin and padding.
Krash.:
--- Code: ---
<input type="text" name="search" value="" class="input_text" style="font-size: 20px;" />
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version