Support » Fixing WordPress » multiple css files: can they be combined?

  • After a meltdown, I reinstalled WordPress and looked for a theme that had these basics:

    light/white background
    three columns
    fixed width
    ajax comments and similar

    So now I’ve got Constructor up and running, but there’s an issue that I’m not sure can be fixed, and from looking at other themes, I get the idea that it’s not just Constructor.

    A lot of plugins have their own css, and then the theme also has multiple css files.

    I use cssedit to adjust things the way I want them, but this has become more difficult and sometimes impossible given the complex way the css files interact.

    So, is there a safe way to conflate all the css files into one? Or do I have to start from scratch.

    Any thoughts or suggestions much appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Yes, you can merge them all into one file. But pay attention to the load order: the code in the combined file must be in the same order that the separate files are being loaded in your header.

    Okay, I’ll give it a try. Thanks for getting back to me. One more question. If I can get it to work, can I then delete the individual files I’ve folded into the main css?

    Yes, although I would suggest renaming them first, and then once you are sure you don’t need them any more, delete them.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘multiple css files: can they be combined?’ is closed to new replies.