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)
-   -   placement of Trust Logo (https://forum.x-cart.com/showthread.php?t=49303)

nortonz 08-24-2009 07:45 AM

placement of Trust Logo
 
I have placed a Trust logo in the "customer/home.tpl" just below the powered by "if" statement, and it appears just below it. and centers it, but I need to move it down about 10px, so its not crowding the elements above it, but not sure what needs to be added. I tried to set up a table, but that just messed up the page.
Here is my code.

HTML Code:

<center>               
<a href="http://www.instantssl.com" id="comodoTL">SSL</a>
<script type="text/javascript">TrustLogo("http://www.mysite.com/images/tl_transp.gif", "SC4", "none");</script></center>


you can see the page Here

hope someone can help, or if there is a better way to do it. Thanks.

Thanks
Michael

Shamun 08-24-2009 04:18 PM

Re: placement of Trust Logo
 
In your customer.tpl file:

Code:

<div id="trustLogo">
<center>
<a href="http://www.instantssl.com" id="comodoTL">SSL</a>

<script type="text/javascript">TrustLogo("http://www.mysite.com/images/tl_transp.gif", "SC4", "none");</script>

</center>
</div>



In your css file:
Code:


#trustLogo {
margin-top: 10px
}


nortonz 08-24-2009 08:42 PM

Re: placement of Trust Logo
 
That worked great, I knew using a css file would be best, but I didn't know how to do it. Thank You very much.:D/

Michael

ARW VISIONS 08-25-2009 12:18 AM

Re: placement of Trust Logo
 
this is good...


http://www.w3schools.com/

you can learn much goodness :D/


All times are GMT -8. The time now is 03:50 AM.

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