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)
-   -   Different font colors in different tables for regular text (https://forum.x-cart.com/showthread.php?t=1360)

Cameron 02-02-2003 06:25 PM

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

InSite 02-06-2003 05:36 AM

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 8O

shan 02-06-2003 05:46 AM

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

InSite 02-06-2003 05:51 AM

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...

shan 02-06-2003 05:53 AM

there are different css styles in newer versions,

maybe its old class thats causing you grief

Cameron 02-06-2003 10:28 AM

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

InSite 02-06-2003 11:57 AM

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 :)


All times are GMT -8. The time now is 04:38 AM.

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