| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
moving search bar | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
moving search bar
My site is at 216.75.30.97.
I want to move the search bar to the right hand side of the logo area How is this done?
__________________
Tool Experts X-Cart DB Version: 5.4.1.49 Windows |
|||||||
#2
|
|||||||||
|
|||||||||
Re: moving search bar
Hi there,
in skin1/head.tpl You could try moving... {if $usertype eq "C"} { include file="customer/search.tpl" } {/if} into your empty... <td class="HeadRightBox"> It will get messy so remember to back up. As you'll need to do a few things to get it sitting right. Also, use webmaster mode - it's your friend. Regards, Doms
__________________
Doms kube v4.1.9 |
|||||||||
#3
|
|||||||
|
|||||||
Re: moving search bar
thanks kube...where do I go to comment the old one out?
__________________
Tool Experts X-Cart DB Version: 5.4.1.49 Windows |
|||||||
#4
|
|||||||
|
|||||||
Re: moving search bar
also what coding would i put in to make it align right?
__________________
Tool Experts X-Cart DB Version: 5.4.1.49 Windows |
|||||||
#5
|
|||||||||
|
|||||||||
Re: moving search bar
The original search box is located further down in head.tpl using the same code as I mentioned.
Also where you have placed the new snip into the TD HeadRightBox, surround it with {if $main ne "fast_lane_checkout"} so it looks like... <td class="HeadRightBox"> {if $main ne "fast_lane_checkout"} {if $usertype eq "C"} { include file="customer/search.tpl" } {/if} {/if} </td>
__________________
Doms kube v4.1.9 |
|||||||||
#6
|
|||||||
|
|||||||
Re: moving search bar
I have implemented this and it seems to be working fine..thank you
__________________
Tool Experts X-Cart DB Version: 5.4.1.49 Windows |
|||||||
#7
|
|||||||||
|
|||||||||
Re: moving search bar
toolexperts you're going to have to watch out what's happening with the code, becareful.
At the moment you have a TD HeadRightBox inside another TD HeadRightBox. Also your TD Container isn't closed - but that isn't an effect of moving the search bar. Make sure you have these sorted otherwise it will become a headache. This is the reason why things aren't aligning as to how you wish.
__________________
Doms kube v4.1.9 |
|||||||||
#8
|
|||||||
|
|||||||
Re: moving search bar
**scratches head** it looks fine to me....what do i need to fix? Thanks in advance
__________________
Tool Experts X-Cart DB Version: 5.4.1.49 Windows |
|||||||
#9
|
|||||||||
|
|||||||||
Re: moving search bar
It may look fine but something is wrong somewhere.
From viewing your source and half-way down, this is what is corrupting it (a HTML comment from me shows the problem below)... <table cellpadding="0" cellspacing="0" width="100%"> <tr> </td> <!---<<<<<<< The problem is here, a closing </TD> tag with no beginning/open <TD> tag! --> <td class="HeadLine" align="right"> </td> </tr> <tr> <td colspan="2"> </td> </tr> </table><!-- main area --> Hope this helps.
__________________
Doms kube v4.1.9 |
|||||||||
#10
|
|||||||
|
|||||||
Re: moving search bar
ok that should have killed it...thanks!
__________________
Tool Experts X-Cart DB Version: 5.4.1.49 Windows |
|||||||
|
|||
X-Cart forums © 2001-2020
|