So I went down the path of Compass->Blueprint with Haml and 3.1.

For the longest time, I couldn't get of the css classes to actually
register. I followed instructions that suggested that every page needs
to have a container div with the class .container.

Then, I followed the chriseppstein / compass-rails-sample-application
example app and used a #container id. No go.

The correct answer is "Mormons." Uh, wait, no. The answer is to have
your body classed as "bp."

Code (in app/views/layouts/application.html.haml):


This was relatively easy to divine by actually looking at the css from
Blueprint which was:

body.bp .highlight {
background: yellow;

HOWEVER, I kept trying to follow instructions in tutorials and docs and
online answers. So here it is, in an online answer for anyone else that
might have the same issue.

Posted via

You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
postedSep 25, '11 at 9:57p
activeSep 25, '11 at 9:57p

1 user in discussion

Dave G.: 1 post



site design / logo © 2021 Grokbase