WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SASS
CSS in subdirectories (i.e. for Foundation, with fix) (1 post)

  1. Senning
    Member
    Posted 1 year ago #

    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.

    http://wordpress.org/extend/plugins/wordpress-sass/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic