osCommerce Style Sheet? Use Colorzilla Firefox.

By | April 14, 2010

Sean asks;

I’ve got a bit of trouble with editing the colours in stylesheet.css.

I don’t have a problem with hex colours or even putting them into the stylesheet, my problem is I don’t know which bit is which. Is there are a chart or something where I can refer to different bits of the oscommerce main page with the code that controls the colors for it?

Really easily, assuming you are using Firefox, or can install Firefox. Use the “colorzilla” plugin, which allows you to point at an area of the page and it will tell you what .css is being used.

In this image, you can see that the red outlined area, is made up of a td.smallText (look at the bottom grey browser bar) – and so this (smallText) is what you would change in the stylesheet to affect the style.

Leave a Reply

Your email address will not be published. Required fields are marked *