Hi there,

Thanks for the initiative to introduce Boilerplate in Drupal, my fav framework. Having started to look in new directions (away from Omega), I've found Boilerplate to be very interesting. However, that is not the only new concept to learn, Sass and Compass adding to the mix!
I understand that most visual configuration should be added to _custom.scss. In order to see the anatomy, I changed the colour for various elements (header, navigation etc.), but I fail to be able to do the same for page as a whole. How can I do it?

I can see this empty placeholder, but nothing I add to it, will print.

body  {

}

What am I getting wrong?

It may not be in the spirit of this lightweight theme, but it would be quite helpful with some rudimentary 'filler' in the stylesheets, to toggle with, flattening the learning curve for newbies as me. :)

Thanks again,
- Christian

Comments

danlinn’s picture

You are compiling your CSS with compass/sass, right?

s@ilor’s picture

Hi Dan,

Yes, I am. I let Compass do it with 'Compass watch' command. Here's my 'workbench':

Windows (7)
An *AMP stack
Ruby 1.9.3
Compass
Netbeans
Sass extension with Firebug in FF.

Now, I got the basics of this setup. Drupal is no stranger to me, and feel fairly confident with it. It's the theming area, I need to develop. So, it's a double learning process; .scss AND Compass. It might be a little too challenging, but I like it so. The whole Paul Irish/Boilerplate baked into a Metal Toad/Drupal concoction is just too tempting!

I just need to learn how you think (break the 'reading code'. I suppose), and I'm off!

Thanks for responding, and any help you can give. I like the blogposts over on http://www.metaltoad.com/blog. The write-up on how to get in a better shape at a Drupalcon is especially amusing :-D

danlinn’s picture

Not sure why that isn't working for you. If you have this tag in _custom.scss (Or _document.scss in the new version):
body { background:#F00; } and then compile it, it should work for you. If you still don't see your color, it's possible that the background is being overridden somewhere.

Glad you liked the articles! We've also got a podcast going now (Toadcast) and a newsletter. Lots of good info coming from the Toad these days.

s@ilor’s picture

Hi Dan,

It worked. Or rather; I got it to work (by trial and error) ...

I decided to start over, and upgrade to latest version. You know, I may as well learn from the 'masters' :)

I did have some trouble, however, but got it to work in the end. There are few inexplicable things (bugs?), and a couple of typo's, so I'm opening a bugs issue report.

Cheers,

danlinn’s picture

Status: Active » Closed (works as designed)

Thanks for the bug reports. Sometimes they get fixed in projects, but not back ported to the boilerplate repo.