In the comments in style.css
Ian has written:
It's better to actually copy over
default.css
into this file (or link to a copy in your child theme) if you're going to do anything outrageous.
Firstly, is there an implicit suggestion that one would then edit default.css
?
And secondly what 'outrageous' circumstances is Ian envisaging? Might 'outrageous' simply mean anything more than just changing a background colour here and there?
More generally, what are the consequences of making changes in style.css
versus modifying a copy of default.css
? Both now, and down the track when either Thematic or WP are updated.
As somebody who is new to WordPress and Themeshaper (and not an expert in CSS by any stretch) it seems easier to make modifications to a copy of default.css
than it is to write new code into style.css
.
For instance, I wanted to change the shade of blue used for link colours in just the body text:
- When I changed the #HEX value Ian defined for a:link in
default.css
I achieved my desired result. - However if I copied the CSS code for a:link from
default.css
intostyle.css
and then changed the value lots of links in places other than the body text also inherited the colour change. It had the undesirable effect of overriding Ian’s carefully created CSS hierarchy.
Obviously there are ways to code around this particular problem, but I’m left wondering which approach will be the most efficient over time. Am I creating a whole lot of pain for myself in the future if I modify a copy of default.css
?
Any thoughts, suggestions, or directions towards existing info greatly appreciated,
Michael