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

Different font colors in different tables for regular text

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-02-2003, 06:25 PM
 
Cameron Cameron is offline
 

eXpert
  
Join Date: Jan 2003
Location: Washington State, USA
Posts: 224
 

Default Different font colors in different tables for regular text

I've searched the forums, but haven't found any info on this. On the site I'm doing, I want to have different font colors in different tables. Specifically: All product info tables need to be in black and all text outside of those tables needs to be white in order to be read against a darker background.

I've gone round and round with my style sheet and it looks like all of the .tpl files are pulling table data from the td classification in my stylesheet. So if I change that, it works for the inner tables (lighter background) but not for the outer tables (darker background) where there are things like the "welcome back cameron" etc...

Can anybody tell me how to fix this? Whatever I need to edit, I'll do.

ALSO, for the product thumbnail descriptions when a category is listed, my description is incredibly small. Everything else is the size that I'm specifying in my style sheet. How do I make it bigger?

Thanks,
Cameron
Reply With Quote
  #2  
Old 02-06-2003, 05:36 AM
 
InSite InSite is offline
 

Member
  
Join Date: Sep 2002
Posts: 10
 

Default Re: Different font colors in different tables for regular te

Quote:
Originally Posted by Cameron
I've gone round and round with my style sheet and it looks like all of the .tpl files are pulling table data from the td classification in my stylesheet.

I have just upgraded to the latest version, and am having the same problem with the style sheet. It's doing my head in
Reply With Quote
  #3  
Old 02-06-2003, 05:46 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

look in the specific tpl files and look for the class statements or FONT statements.

Then look in the css file and find the class statements in there.

use the debug console to see which tpl file to look at

you can always make custom class files if you need to

also remember that table cells <TD> can have class values that effect the code inside those cells
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #4  
Old 02-06-2003, 05:51 AM
 
InSite InSite is offline
 

Member
  
Join Date: Sep 2002
Posts: 10
 

Default

Shan - that is what I have been doing, but for some reason the class is being ignored in certain cases. I didnt have this problem before I upgraded...
Reply With Quote
  #5  
Old 02-06-2003, 05:53 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

there are different css styles in newer versions,

maybe its old class thats causing you grief
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #6  
Old 02-06-2003, 10:28 AM
 
Cameron Cameron is offline
 

eXpert
  
Join Date: Jan 2003
Location: Washington State, USA
Posts: 224
 

Default

Thanks to some help and tips from Parrot, here is the fix I used:

I took the first style on my .CSS sheet and split each one of them into its own category (body, p, td, div, input, th, text area, etc etc...) Then I gave each one a unique colorand browsed around the site to see what was happening and adjusted accordingly. BUT I still had to then use "webmaster mode" to change the text color for certain words that were part of a <td> with no other class distinction. Easy enough in the end, but not too easy to figure out. Also, all that was edit through webmaster mode can also be found under languages. In the first drop down box, choose english and you'll see all the phrases that are inserted.

Cameron
Reply With Quote
  #7  
Old 02-06-2003, 11:57 AM
 
InSite InSite is offline
 

Member
  
Join Date: Sep 2002
Posts: 10
 

Default

I ended up rewriting the CSS from scratch, and removing all the class elements from font and TD tags, and inserting them in the A href links directly... This fixed it for me
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:15 AM.

   

 
X-Cart forums © 2001-2020