• I am developing my own theme and am creating additional stylesheets to keep from having one single stylesheet that is too big and hard to work with. I would like to put them all in a styles folder to help keep the template directory organized. Will there be any unforseen problems if I move the main css file (style.css) into a styles folder? I know that I will need to link to it differently with something like <link rel=”stylesheet” href=”<?php bloginfo(‘template_directory’); ?>/styles/style.css” type=”text/css” media=”print” />. Thanks.

Viewing 1 replies (of 1 total)
  • Will there be any unforseen problems if I move the main css file (style.css) into a styles folder?

    Yes, your theme won’t show in the Presentation tab. You’ll need at least one CSS file in the main theme directory. That’s the one that’ll have the comment block at the top indicating the name of the theme, the author, etc.

Viewing 1 replies (of 1 total)
  • The topic ‘Moving Stylesheet to a Styles Folder’ is closed to new replies.