I admit that I'm relatively new to sass/compass. but I have used it successfully with the Aurora theme. And coming to Zen after Aurora, I'm overwhelmed by the complexity of Zen. And I feel limited by the layouts it offers. I'm trying, really, but it seems Zen and I have gotten off to a bad start.
I wanted to add the compass plugin called breakpoint, (so i don't have to ever write a media query again- love it!) and I did, but then on running compass watch I get the error:
LoadError on line ["45"] of /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb: cannot load such file -- zen-grids
And now I can't seem to get back to where I was by uninstalling my import of breakpoint. Nothing seems to work. I cleared the cache with Drush but I can't get rid of the errors.
What can I do now, reinstall the whole theme again?
BTW: the part about the layouts I mentioned above... I notice Zen assumes my layout is going to be limited by the max-width of 1200px. But my layout needs to go beyond this as I need the header and other elements on the page to go the full width of the screen. this is a common look of web sites these days, where the background colors of different parts of the page go 100% width. Not your content, (that can be max-width 1200px) but the backgrounds. So how do I accomplish this? I can hack the page template, but then I've lost some of the natural responsiveness of the theme. Wooops.
I'm thankfull for any help.
Comments
Comment #1
pincho commentedHi ricksta:
I am a rookie may be more than you. I have gem version 2.2.2 (Mac OsX 10.5.8) obtained from a manual install of "ruby 2.1.2p95 (2014-05-08 revision 45877) [i386-darwin9.0]" and gems breakpoint is hapilly installed (breakpoint (2.5.0)) with zen and zen-grids.
In principle, if I understood correctly, you do not need to add the zen's gem file they are included in the zen's drupal module.
Either way, I believe there is some compass configuration flag for libraries
Regarding the max-width limit, In the sass configuration you'll find a variable with the max-width of the zen layout. In sass/layouts/_responsive.scss within your prototyping theme you can find:
there it is picked up the max-width limit, thus changing it there you should be able to expand the width of your layout. In the sass way you probably may set this to a variable as well and preset it according to your media. But again, if library path fails...
cheers and hih,
arian
PS: I am not sure whether my issue may be related to yours but my error is achieved even if I have or have not the zen and zen-grids installed thus this smells fishy how these apparently simple things get corrupted. In my case, if I try to compile the sass provided files I minimally changed within the zen subtheme (let say add space in the style.scss and let compass do the rest) my default grid breaks down completely, as I said irrespectively of whether zen gem are there or not.
Comment #2
ricksta commentedThanks. I'll have to look at your solution to the breakpoint plugin problem. I can't tell from your post if you didn't have the problem or you do. the las PS sounds like you might have a problem. The link you gave goes to a Compass page I find hard to understand. I'll investigate later, thanks.
With regard to the layout though, I think I just need to do some serious hacking of the template. I wish Zen didn't assume my divs won't go all the way across the page. I think I'll try making the divs at 100% and create other divs insided them that only go to 1200px or something like that. Aurora was so much easier to use.
Comment #3
johnalbin