ThemeShaper Forums » Thematic

Copying imported CSS to child vs. overriding in style.css

(2 posts)
  • Started 13 years ago by BrightBold
  • Latest reply from Ian Stewart
  • This topic is resolved
  1. I'm working on my first Thematic child theme (and first WordPress theme) and I'm curious about the best practices for handling changes to the imported stylesheets - typography.css, html-elements.css, etc.

    At first, I had made copies of all those sheets into my child theme folder, imported them into my styles.css, and was editing them as needed. But then I realized I didn't have the most recent version of Thematic so I updated it. Then I had to do file compares between my child versions of the 0.6.5 files and the new 0.7 files in the Thematic library to see what CSS Ian had changed and whether I wanted to copy any of it into my child versions. That made me wonder if it might not make more sense to only edit styles.css in my child folder and override any parts of typography/html-elements/etc. in that one central location (styles.css)

    This may be obvious to anyone who's been doing WordPress for a while, but the best practice isn't clear to me. Can those of you who are more experienced advise me on which of those two systems will make maintenance and upgrades easiest in the future?

    Thanks,
    Kelley

    Posted 13 years ago #
  2. The question is one of simplicity. Myself, I'll ignore the Thematic stylesheets if overriding them starts to get too complex. Here's how I use them:

    1. To get a quick start on setting a site up by importing them into a child theme stylesheet.

    2. As a guide so I remember what the heck I'm doing when I want to create something totally new.

    So feel free to ignore them and not import them. :)

    Posted 13 years ago #

RSS feed for this topic

Reply

You must log in to post.