Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
Mystikel
Mystikel
I've search everywhere and can't find the piece of code to alter the length of the search input box for the 'Products Search' block. I need to make it a little smaller as it's pushing the whole page out width wise.
Thanks in advance for any help offered. Wink
 
on2dvd
on2dvd
look in the html template and change it. ie- not in CMS
 
Mystikel (Guest)
Mystikel (Guest)
Thanks, But I've done that and there's no any form tags to alter.Wall Bash
I also just noticed the input box for the log in block does the same thing (before logging in) So again I just went through the cms and still no luck.. It's driving me nuts.. Wacko
 
jty (Guest)
jty (Guest)
The size of the login boxes are in the html templates
Search for "size" or "maxlength"
You want "size" but maxlength might be easier to search for and is usually after size
 
jty (Guest)
jty (Guest)
I just looked at block_search.html and I can see size="15"
Not sure if that is the search block you're after
 
Per on2DVD, if you keep looking in CMS, you'll go nuts as it's not there.
 
Eu D (Guest)
Eu D (Guest)
If i understand your question correctly, here's what youre looking for:
 
<input type="text" size="4" maxlength="2" name="search">
 
I, however, have another issue: when i say "size=1" it is too big for my needs. Anybody knows how to address this?
 
Eu D (Guest)
Eu D (Guest)
finally had some time to research this some more. here's how i fixed the issue:
 
<input type="text" size="1" maxlength="2" style="width:11pt; height:11pt; padding:0; margin:0;" value=mm name="eMon">
 
hope this helps somebody