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

How to change the color of top right store tabs

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-20-2006, 05:57 PM
  thentavius's Avatar 
thentavius thentavius is offline
 

Advanced Member
  
Join Date: Dec 2006
Posts: 34
 

Default How to change the color of top right store tabs

I've been battling with the skin1.css file for hours, trying to figure out which tag changes the color of the rounded tabs in the upper right hand corner (the "Contact Us" "Home" etc. tabs).

Which tag defines them? Anyone?
__________________
XCart Gold - 4.0.19
Server using: Debian GNU/Linux with PHP 4.4.0
Reply With Quote
  #2  
Old 12-20-2006, 06:00 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: How to change the color of top right store tabs

Those are images...have a look at the templates to see which ones they are.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 12-20-2006, 06:05 PM
  thentavius's Avatar 
thentavius thentavius is offline
 

Advanced Member
  
Join Date: Dec 2006
Posts: 34
 

Default Re: How to change the color of top right store tabs

I can see the tab01.gif and other tab files (the rounded corners and spacers), but the bulk of the square part of the tab doesn't seem to be an image? (or maybe I'm just blindly missing it).
__________________
XCart Gold - 4.0.19
Server using: Debian GNU/Linux with PHP 4.4.0
Reply With Quote
  #4  
Old 12-20-2006, 06:20 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: How to change the color of top right store tabs

What does the class read in the template? If you look at customer/tab.tpl you'll see both the image names and the class names.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 12-20-2006, 06:47 PM
  thentavius's Avatar 
thentavius thentavius is offline
 

Advanced Member
  
Join Date: Dec 2006
Posts: 34
 

Default Re: How to change the color of top right store tabs

<TABLE border="0" cellpadding="0" cellspacing="0">
<TR>
<TD width="9" background="{$ImagesDir}/tab_l.gif"><IMG src="{$ImagesDir}/spacer.gif" width="9" height="1" border="0" alt=""></TD>
<TD height="5" valign="bottom" class="Tab"><IMG src="{$ImagesDir}/spacer.gif" width="1" height="5" border="0" alt=""></TD>
<TD width="9" background="{$ImagesDir}/tab_r.gif"><IMG src="{$ImagesDir}/spacer.gif" width="9" height="1" border="0" alt=""></TD>
</TR>
<TR>
<TD width="9" background="{$ImagesDir}/tab_l.gif"><IMG src="{$ImagesDir}/spacer.gif" width="9" height="1" border="0" alt=""></TD>
<TD width="85" height="30" class="Tab" align="center">{$tab_title}</TD>
<TD width="9" background="{$ImagesDir}/tab_r.gif"><IMG src="{$ImagesDir}/spacer.gif" width="9" height="1" border="0" alt=""></TD>
</TR>
<TR>
<TD width="9" height="9" background="{$ImagesDir}/tab_c1.gif"><IMG src="{$ImagesDir}/spacer.gif" width="9" height="1" border="0" alt=""></TD>
<TD height="9" background="{$ImagesDir}/tab_b.gif"><IMG src="{$ImagesDir}/spacer.gif" width="1" height="9" border="0" alt=""></TD>
<TD width="9" height="9" background="{$ImagesDir}/tab_c2.gif"><IMG src="{$ImagesDir}/spacer.gif" width="9" height="1" border="0" alt=""></TD>
</TR>
</TABLE>

Edited to add:

I can find all those little guys, like "tab_r.gif" in the skin1/images/ directory. The Class=Tab must be where the bulk of the color (outside of those small accent gifs) is located?
__________________
XCart Gold - 4.0.19
Server using: Debian GNU/Linux with PHP 4.4.0
Reply With Quote
  #6  
Old 12-20-2006, 06:53 PM
  thentavius's Avatar 
thentavius thentavius is offline
 

Advanced Member
  
Join Date: Dec 2006
Posts: 34
 

Default Re: How to change the color of top right store tabs

Found the tab class definition in the skin1.css file. Thank you very much for your help! I'll just manually change the color of the assorted little gifs to match the new class color.
__________________
XCart Gold - 4.0.19
Server using: Debian GNU/Linux with PHP 4.4.0
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 06:23 AM.

   

 
X-Cart forums © 2001-2020