small medium large xlarge

Generic-user-small
16 Oct 2012, 11:06
Andre Silva (2 posts)

Store’s SCSS file starts with: ` .store { h1 { …. `

However, index.html for store controller has no mention to store class. As a result, no CSS is applied to the page. Isn’t it supposed to have a store class on index.html??

Thank you!

Generic-user-small
16 Oct 2012, 11:15
Andre Silva (2 posts)

I found the problem. For those who may encounter the same issue, check the file:

app/assets/views/layouts/application.html.erb

body tag should have the following code:

<body class="<%= controller.controller_name %>">

You must be logged in to comment