Support » Plugin: WordPress SASS » CSS in subdirectories (i.e. for Foundation, with fix)

  • Hey,
    I’m building on the Required+ Foundation theme and I wanted to use SASS for my own styling, so your plugin is a real help. It’s not necessary, but Foundation traditionally puts app.css (the developer CSS file) in a separate stylesheets directory and WordPress SASS expects it in the theme directory. I made these changes so developers can specify a sub-directory:

    • Line 33: remove WPSASS_SS_DIR, leaving just $target
    • Line 114: replace with $uri = get_bloginfo(‘stylesheet_directory’).’/’.$stylesheet;

    Also, the comment heading app.css was being read as CSS because of the space between / and * (Firefox 18). I changed lines 84 and 85 to fix.

  • The topic ‘CSS in subdirectories (i.e. for Foundation, with fix)’ is closed to new replies.