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)
-   -   linking templates to the style sheet (https://forum.x-cart.com/showthread.php?t=43635)

tbm 11-13-2008 09:46 AM

linking templates to the style sheet
 
hey folks, looking for a bit of help. i've added an image to welcome.tpl but now i want to add styles to the table the image is sitting in. here's the code i added to the template file:

<table width="100%" border="0" cellspacing="0" cellpadding="0" class="frontpage">
<tr>
<td><img src="{$ImagesDir}/front_page1.jpg"></td>
<td>{$lng.txt_welcome}</td>
</tr>
</table>

and i added the following to the skin1.css:

table.frontpage td {
VERTICAL-ALIGN: top;
TEXT-ALIGN:right;
}

but the style isn't being reflected in the template. can anybody see where i'm going wrong?

balinor 11-13-2008 10:33 AM

Re: linking templates to the style sheet
 
Be sure to clear your cache by using the clear template cache link in 'Summary/Tools'

JWait 11-14-2008 04:47 AM

Re: linking templates to the style sheet
 
The class="frontpage" and "frontpage td" are not the same thing.

Amir 06-11-2009 12:28 AM

Re: linking templates to the style sheet
 
i wanna put Visa Card logo, Master Card Logo, Paypl logo and other logos in the footer of the main page.
please help me how to put these logos and which php file should be modify.

balinor 06-11-2009 04:05 AM

Re: linking templates to the style sheet
 
Please refer to the template editing guides:

http://forum.x-cart.com/showthread.php?t=21529

http://forum.x-cart.com/showthread.php?t=46920


All times are GMT -8. The time now is 07:56 PM.

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