I would like to change the size of the input box of the Search that comes with CMSMS. (The default width is too wide for my needs.)
How do I change it?
Thanks,
Amazing Rando
Search modification question (input box size)
Re: Search modification question (input box size)
Hi,
Does anyone have a solution for this, as it is something that is causing me way too much grief at present. I'm having trouble getting the submit button onto the same line as the input box
With my site (www.webtactics.com.au) the search bar appears to be fine in most browser combinations, but falls apart on some (but not all) versions of IE 7 on XP Pro, at 1024 x 768.
Also happens in another site I'm halfway to completing http://gormanproperty.com.au/ which just means i'm replicating the problem.
Any help would be appreciated.
Cheers,
Paul
Does anyone have a solution for this, as it is something that is causing me way too much grief at present. I'm having trouble getting the submit button onto the same line as the input box
With my site (www.webtactics.com.au) the search bar appears to be fine in most browser combinations, but falls apart on some (but not all) versions of IE 7 on XP Pro, at 1024 x 768.
Also happens in another site I'm halfway to completing http://gormanproperty.com.au/ which just means i'm replicating the problem.
Any help would be appreciated.
Cheers,
Paul
Re: Search modification question (input box size)
pwg
I don't know about IE, you may have to give it no margin and no padding, but for firefox try...
.sidecon2 input{margin:0px 0px 15px}
* html .sidecon2 input{margin:0px ; padding:0px} for IE
In most ver. you can go to Extensions » Search and click the Search Template and put some class calls so you can style it with CSS...
It helps me if I have links than I can tell what you mean by too wide and such...
I don't know about IE, you may have to give it no margin and no padding, but for firefox try...
.sidecon2 input{margin:0px 0px 15px}
* html .sidecon2 input{margin:0px ; padding:0px} for IE
In most ver. you can go to Extensions » Search and click the Search Template and put some class calls so you can style it with CSS...
It helps me if I have links than I can tell what you mean by too wide and such...

Re: Search modification question (input box size)
If you want to fix this without styling with css
Edit /modules/Search/action.default.php
around line 43:
Change 20 to whatever length you want the input box to be.
Valid for Search 1.3
Edit /modules/Search/action.default.php
around line 43:
Code: Select all
$this->smarty->assign('inputbox', $this->CreateInputText($id, 'searchinput', $searchtext, 20, 50, $hogan));
Valid for Search 1.3