This is the silliest question yet...
I've installed the search box module on my site (Ethics Trading) Look, there it is under the menu, on the left and working fine!
But I want it on the right... At the mo the {search} tag is sitting in the template sop the search box is on all pages. I'm assuming there's a little, very simple, bit of code that will make it go on the right?
Anyone care to share it?
Thank folks, I'll send virtual cake...
Sarah
Very basic, silly questions - Positioning a Search box.
-
- Power Poster
- Posts: 424
- Joined: Sat Feb 02, 2008 12:42 am
Re: Very basic, silly questions - Positioning a Search box.
You can customize using CSS and the form template under Extension > Search.
I like chocolate.
I like chocolate.
Take a penny, leave a penny.
Re: Very basic, silly questions - Positioning a Search box.
OK, I found that, virtual choc cake if you can tell me what to add in the template...
-
- Power Poster
- Posts: 424
- Joined: Sat Feb 02, 2008 12:42 am
Re: Very basic, silly questions - Positioning a Search box.
Sounds like you should read up on CSS.
But you can try something like:
But you can try something like:
Code: Select all
<div style="float:right">
{$startform}
<label for="{$search_actionid}searchinput">{$searchprompt}: </label><input type="text" class="search-input" id="{$search_actionid}searchinput" name="{$search_actionid}searchinput" size="20" maxlength="50" value="{$searchtext}" {$hogan}/><input class="search-button" name="submit" value="{$submittext}" type="submit" />
{if isset($hidden)}{$hidden}{/if}
{$endform}
</div>
Take a penny, leave a penny.
Re: Very basic, silly questions - Positioning a Search box.
That puts it on the right hand side, thanks. But it messes up the layout underneath.
I'm learning, slowly, and yes I could do with reading up on it a bit more.
Virtual choc cake for your help.
I'm learning, slowly, and yes I could do with reading up on it a bit more.
Virtual choc cake for your help.