Support » Plugins » Add support for site-specific css file?

  • Hi, I’ve really been enjoying the inove theme. It’s been a great starting point for a blog I’ve been working on ( if you’re curious). Many thanks!

    One not too-surprising problem I’ve run into is that it’s difficult to upgrade the theme without clobbering the various customizations I’ve made to style.css. To get around this, I’ve added the following code snippet to start.php, right below where the default stylesheet (style.css) is imported:

    <?php if (file_exists(TEMPLATEPATH.'/style_site.css')) { ?>
    <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style_site. css" type="text/css" media="screen" />

    This allows me to implement my CSS customizations as overrides by simply adding a style_site.css file instead of editing style.css. Hopefully this will make upgrading the theme much easier in future versions.

    Anyhow, though you might be interested in possibly adding this to the inove theme codebase.

    – Robert

  • The topic ‘Add support for site-specific css file?’ is closed to new replies.