jasonj04 Posted March 22, 2013 Posted March 22, 2013 Ok so I am having an issue I changed the background on the base tables on the sides and now the fonts are still black but the background is black as well. I can't find the color section in any of the jquery's or stylesheets.. Anyone know where that is?
burt Posted March 22, 2013 Posted March 22, 2013 You should not be changing any of the default .css files. Best practice is to create a NEW .css file, call it in the template_top file, ensuring that the call to it is BELOW the existing stylesheet call. Now insert css into the new stylesheet and any you have can be overwritten. eg: in stylesheet.css .black { color: black; } "the text is black." in the new stylesheet; .black { font-weight: bold; } "the text is now black and bold" similarly in the new stylesheet .black { color: red; font-weight: bold; } "the text is now red and bold"
jasonj04 Posted March 22, 2013 Author Posted March 22, 2013 I have the original .css files in folder on my computer but I have altered it a lot and just gone line by line testing to see what it actually changes.. I just don't see where it has the line for the font color in those tables.
multimixer Posted March 22, 2013 Posted March 22, 2013 @@jasonj04 As @@burt suggested, best is you leave the default stylesheet.css file in peace Then, you can create a new css file, call it like "my_styles.css" or "kuku.css" or whatever, upload it to folder /catalog/ (same place where your existing stylesheet.css is) and link it in file catalog/includes/template_top.php. Just make sure you include it after stylesheet.css Once this is done, you can add anything you want into there For example, for font colour, you can add body{color:#f00} /*(all text color)*/ a{color:#00ff00} /*(all links color)*/ You can be as specific as you like, depending on what part of the website you want to style My community profile | Template system for osCommerce - New: Responsive | Feedback channel
Recommended Posts
Archived
This topic is now archived and is closed to further replies.