Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Bottom.tpl editing

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-19-2009, 11:35 AM
 
swifty1 swifty1 is offline
 

eXpert
  
Join Date: Aug 2008
Location: UK
Posts: 327
 

Default Bottom.tpl editing

Hi i need some help on how i can change the background colour to the bottom.tpl.
I have a light grey background in the skin1.css HTML background colour:
#E5E5E5
, this grey colour is also the background colour for the bottom.tpl, i have tried to change various hex codes in the Footer styles class but are unable to change the bottom.tpl colour, can anybody point me in the right direction?
__________________
4.1.11 gold
x-special offers
CDSEO Pro
Reply With Quote
  #2  
Old 04-19-2009, 01:17 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Bottom.tpl editing

look for .BottomBox in the CSS file.
__________________
xcart 5.1.2
Reply With Quote
  #3  
Old 04-20-2009, 10:45 AM
 
swifty1 swifty1 is offline
 

eXpert
  
Join Date: Aug 2008
Location: UK
Posts: 327
 

Default Re: Bottom.tpl editing

BottomBox is under Footer Styles in the CSS file, these i have changed to FFFFFF to show as white but no affect to web site even after clearing the catch, any suggestions?
__________________
4.1.11 gold
x-special offers
CDSEO Pro
Reply With Quote
  #4  
Old 04-20-2009, 11:03 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Bottom.tpl editing

did you put a # in front of it?

#ffffff is the code for white, or #fff

post your bottom.tpl and your footer styles.
__________________
xcart 5.1.2
Reply With Quote
  #5  
Old 04-20-2009, 12:04 PM
 
swifty1 swifty1 is offline
 

eXpert
  
Join Date: Aug 2008
Location: UK
Posts: 327
 

Default Re: Bottom.tpl editing

Quote:
Originally Posted by Ashley
did you put a # in front of it?

#ffffff is the code for white, or #fff

post your bottom.tpl and your footer styles.

Yes i did and the Footer styles have all the original hex codes.

Footer styles
*/
.BottomRow {
TEXT-ALIGN: center;
VERTICAL-ALIGN: bottom;
}
.BottomBox {
COLOR: #9A9A9A;
HEIGHT: 22px;
VERTICAL-ALIGN: middle;
}
.Bottom {
BACKGROUND-COLOR: #D6D7D9;
COLOR: #9A9A9A;
}
.BottomPopup {
WIDTH: 100%;
TEXT-ALIGN: right;
PADDING-BOTTOM: 10px;
}
.BottomPopup A {
FONT-WEIGHT: bold;
}
.BottomDialogBox {
BACKGROUND-COLOR: #FFE591;
PADDING-LEFT: 13px;
PADDING-TOP: 10px;
PADDING-BOTTOM: 10px;
}





{if $usertype eq "C"}
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="BottomBox"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td {*background="{$ImagesDir}/wrcimages/footer_shadow.jpg"><img src="{$ImagesDir}/wrcimages/footer_shadow.jpg" alt="" width="1" height="5">*}</td>
</tr>
<tr>
<td><div align="center"><strong>All Major Credit Cards Accepted</strong><br />
<img src="http://www./skin1/images/wrcimages/card-images1.jpg" width="351px" height="34px" /></div></td>
</tr>
<tr>
<td><div align="center"><font color="#999999" size="1" face="Arial, Helvetica, sans-serif">{include file="copyright.tpl"}. All rights reserved. <br>
Email:<a href="mailto:{$config.Company.orders_department}"> {$config.Company.orders_department}</a> Tel:{if $config.Company.company_phone}{*{$lng.lbl_phone_1_ title}: *}{$config.Company.company_phone}{/if}&nbsp;&nbsp; <a href="help.php?section=business">{$lng.lbl_privacy _statement}</a>
&nbsp;|&nbsp; <a href="help.php?section=conditions">{$lng.lbl_terms _n_conditions}</a>&nbsp;|&nbsp; <a href="sitemap.html">{$lng.lbl_sitemap}</a>&nbsp;|&nbsp; <a href="glossary.html">{$lng.lbl_glossary}</a>.</font></div></td>
</tr>
</table></td>
</tr>
</table>
{else}
<table width="100%" cellpadding="0" cellspacing="0">
<tr><td class="HeadThinLine"><img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /></td></tr>
<tr>
<td class="BottomBox">
<table width="100%" cellpadding="0" cellspacing="0"><tr>
<td class="Bottom" align="left">{include file="main/prnotice.tpl"}</td>
<td class="Bottom" align="right">{include file="copyright.tpl"}</td>
</tr></table>
</td>
</tr>
</table>
{/if}


Hope this is of help.

__________________
4.1.11 gold
x-special offers
CDSEO Pro
Reply With Quote
  #6  
Old 04-20-2009, 06:11 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Bottom.tpl editing

did you try adding the backgorund color to bottomBox?
__________________
xcart 5.1.2
Reply With Quote
  #7  
Old 04-20-2009, 07:33 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Bottom.tpl editing

Is it the background color for .Bottom?

you have <td class="Bottom"

and you have a backgroundcolor set for Bottom

.Bottom {
BACKGROUND-COLOR: #D6D7D9;
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
  #8  
Old 04-21-2009, 09:26 AM
 
swifty1 swifty1 is offline
 

eXpert
  
Join Date: Aug 2008
Location: UK
Posts: 327
 

Default Re: Bottom.tpl editing

Yes i changed all the hex code's to #FFFFFF in all the Footer styles code.
__________________
4.1.11 gold
x-special offers
CDSEO Pro
Reply With Quote
  #9  
Old 04-21-2009, 09:31 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Bottom.tpl editing

Im sure you know this but color and background-color are not the same.

did you change

.BottomBox {
COLOR: #9A9A9A;
HEIGHT: 22px;
VERTICAL-ALIGN: middle;
}

to

.BottomBox {
BACKGROUND-COLOR: #ffffff;
HEIGHT: 22px;
VERTICAL-ALIGN: middle;
}
__________________
xcart 5.1.2
Reply With Quote
  #10  
Old 04-21-2009, 09:57 AM
 
swifty1 swifty1 is offline
 

eXpert
  
Join Date: Aug 2008
Location: UK
Posts: 327
 

Default Re: Bottom.tpl editing

UMM what can i say, that has sorted the background colour to the bottombox however i now have a thin band of grey between the main template and the bottombox template, used webmaster mode to try and find the template responsible for the grey band,unable to see the template.

Thanks for that Ashley
__________________
4.1.11 gold
x-special offers
CDSEO Pro
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:49 AM.

   

 
X-Cart forums © 2001-2020