Using Compass and Zen Grids' global variables
I was having some trouble while using compass and Zen Grids, while dealing with $zen-column-count
variable in a Drupal theme.
If you are having the same problem, it's due a recent change in compass' way of dealing with variables. Now, if you need to use a variable throughout some included files, you have to postfix it with !global
modifier.
So, it was:
$zen-column-count: 12;
And now it should be:
$zen-column-count: 12 !global;
Hope it helps someone else.
Written by Rafael Silva
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Css
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#