2013-07-29 208 views
0

我用Zurb基礎框架來構建自己的網站,現在我想使用北斗"Sticky footer"但我不能包括指南針Zurb基金會+指南針

gem 'zurb-foundation', :git => "https://github.com/zurb/foundation.git" 
gem "compass" 

Application.scss

@import "bourbon"; 
@import "foundation_and_overrides"; 
@import "buttons"; 
@import "font-awesome"; 
@import "page"; 
@import "pagination"; 
@import "footer"; 
@import "app"; 

footer.css.sass

@import compass/reset.scss 
@import compass/layout.scss 

+sticky-footer(72px, "#layout", "#layout_footer", "#footer") 

enter image description here

回答

1

看起來像Rails4 - 指南針還沒有準備好Rails4。

你可以在compass-rails上試用版本2.0.alpha.0的運氣 - 它已經發布了大約4天了。

gem 'compass-rails', '2.0.alpha.0' 
+0

參見這裏的討論,基金會曾與指南針鮑爾更新打破了短暫的打嗝:http://foundation.zurb.com/forum/posts/18624-foundation-5-and-compass-10 –