[TriLUG] Help! Wordpress CSS issue
Brian McCullough
bdmc at buadh-brath.com
Fri Aug 30 14:33:12 EDT 2013
On Fri, Aug 30, 2013 at 02:26:01PM -0400, Igor Partola wrote:
> SASS (http://sass-lang.com/) is compiled down to CSS. You would need
> something like http://wordpress.org/plugins/wordpress-sass/ to get CSS to
> be compiled on the fly. Otherwise, you could just compile SASS to CSS
> whenever you make changes and just install the CSS files into your
> WordPress theme.
>
> The former is easier: whenever you change your SASS files your CSS files
> are re-generated on the next page load. This has two gotchas:
>
> 1. You have to reload an HTML page, NOT the .css file to trigger the CSS
> regeneration.
>
> 2. If you have a syntax error in one of your SASS rules, the whole page
> will fail to load. This is unlike a syntax error in a CSS file where the
> browser is going to try it darnest to still use most of the stylesheet.
> Don't make syntax errors.
Since I'm not trying to make SASS changes, that shouldn't really be a
problem, but, you know.
> Hope that helps.
Thanks,
Brian
More information about the TriLUG
mailing list