X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Move search field over to the right hand side (https://forum.x-cart.com/showthread.php?t=42533)

ibit-matt 09-23-2008 09:48 AM

Move search field over to the right hand side
 
1 Attachment(s)
How do I move search field over to the right hand side of the site.

See Screen Attached

balinor 09-23-2008 10:01 AM

Re: Move search field over to the right hand side
 
Use webmaster mode to determine which template the search box is in (try head.tpl to start) and right align the table cell it is in.

ibit-matt 09-23-2008 10:20 AM

Re: Move search field over to the right hand side
 
Any idea on what code I need to search for please.

ibit-matt 09-27-2008 11:45 AM

Re: Move search field over to the right hand side
 
Can anyone help me with this please

balinor 09-27-2008 11:49 AM

Re: Move search field over to the right hand side
 
As I metioned above, open up head.tpl, find the table cell that contains the search box (looks like {include file="search.php"} and add html to right align it. So the td would look like this:

<td align="right">

ibit-matt 09-27-2008 12:20 PM

Re: Move search field over to the right hand side
 
Thanks

I seached for what you saud but it was not in the file but figured it out in the end.

I have to change this section

Code:

<td class="HeadLine" height="22">
{if $usertype eq "C"}
{ include file="customer/search.tpl" }
{/if}
 </td>



to look like this


Code:

<td align="right" class="HeadLine" height="22">
{if $usertype eq "C"}
{ include file="customer/search.tpl" }
{/if}
 </td>



Thanks ;-)

balinor 09-27-2008 12:23 PM

Re: Move search field over to the right hand side
 
Yes, that was head.tpl just as I said :)


All times are GMT -8. The time now is 02:16 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.