Guest Posted February 28, 2003 Share Posted February 28, 2003 I am starting to get familiar with the css and I have been playing around with it and changing colors. My question is how hard is it to make the css control each box seperately, because I have a dark background and kept the boxes white, when I change the text to white for the dark back ground it shows up as white on white in the boxes and you cant see all of the text. there are numerous other things that are anoying like this, hyperlinks and others of the such. Could someone point me to a good reference for rebuilding or modifying this to the way I want it. Thanks, Kirk Link to comment Share on other sites More sharing options...
Guest Posted February 28, 2003 Share Posted February 28, 2003 You can always create a new class and reference that in any file. It works! Link to comment Share on other sites More sharing options...
Guest Posted February 28, 2003 Share Posted February 28, 2003 Ok that sound good, but how is it done? Is that similar to the span.greatuser that is located in the css, and in the english.php? I have found this and if that is all that there is to it then it seems pretty simple. just has the section in css that has span.greatuser and in english.php is has <span class "greatuser">guest</span> I am asuming that the only function of this is to change the style and color of the word guest. Is this what you are saying that I can create something like this just by making the same thing with a different name such as span.newname and <span class "newname">mytext<?span> Sorry if this is hard to understand but I am doing like 40 things at once right now. Kirk Link to comment Share on other sites More sharing options...
Guest Posted February 28, 2003 Share Posted February 28, 2003 I guess another question I have is that I am thinking about going to buy a css book but I am afraid that learning css is not enogh as it can be used with html, asp and other languages, I figure there are going to be things that are different for oscommerce and that getting a book will just make me more confused than staring at the code all day trying to decifer it like I have been doing for the last week. I am also going to get a php book. using os commerce for the last few months has tought me a lot about php just by going into the files and screwing them up and starting over but I figure if I get a book and learn the architecture of how everything actually works then I will have completed half of the battle. Could anyone tell me if this will help and posibly suggest a good book? Link to comment Share on other sites More sharing options...
toolcrazy Posted February 28, 2003 Share Posted February 28, 2003 There is a quick lesson about this at: http://guide.oscdox.com Steve ------------------------- Link to comment Share on other sites More sharing options...
Guest Posted February 28, 2003 Share Posted February 28, 2003 I hate not having an open mind,,, I had just looked at css and not the rest of the information. the boxes and text section were helpful, sorry and thanks, Kirk Link to comment Share on other sites More sharing options...
Guest Posted March 1, 2003 Share Posted March 1, 2003 ok I used the instructions on changing box color for each different box and it seems to work great on everything except the manufacturers box. The manufacturers box will show the color when I first go to the website, but if I hit the refresh buton it changes back to white. I can close ie and go back to the site agian and the color is there agian, but when I refresh, back to white agian. Is there something diferent about this box or did I just do something wrong? Thanks, Kirk Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.