![]() |
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? |
Re: linking templates to the style sheet
Be sure to clear your cache by using the clear template cache link in 'Summary/Tools'
|
Re: linking templates to the style sheet
The class="frontpage" and "frontpage td" are not the same thing.
|
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. |
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.