Which file to make theme CSS changes in?

Asked by jsherk on 2010-12-20

I have decided make some changes to the CSS of the theme and have had to modify the following files:
/themes/cloud/css/forms.css
/themes/cloud/css/grid-fluid.css
/themes/cloud/jquery/css/smoothness/jquery-ui.css

Of course I have copied it to my own theme name, but I still would rather make changes in one file than a whole bunch. It looks like general.css is always the last css file loaded in. Can I make all my mods in that file, or is there another file I should consider?

I think general.css would be the best place, but just want to make sure.

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
PHPDevShell Edit question
Assignee:
No assignee Edit question
Solved by:
jsherk
Solved:
2010-12-20
Last query:
2010-12-20
Last reply:
2010-12-20
Greg (gregfr) said : #1

CSS rules are always applied "in order", that means the last one take precedence. The best way would then be to create a new file "my_styles.css", add your changes inside it, and add an html link to it in your html header.

Greg (gregfr) said : #2

As a general rule don't alter files from the distribution, because they will be overwritten on next update.

jsherk (jeff-forerunnertv) said : #3

Oh yes, I never thought of files being overwritten!
Thanks