Customising theme with bootswatch
Opened this issue · 3 comments
ekremkaraca commented
Hey guys,
Thanks for your project! I'd like to customise front-end theme with Bootswatch. I've installed bootswatch-rails
gem and added proper values to application.scss
but nothing has changed. Could you tell me what should I do?
dvanderbeek commented
If you're trying to customize the theme for your site, you probably need to set the layout in the site's settings to use a layout from your host app. That way it will pull in styles from your application.scss. Let me know if that works.
bcroesch commented
@ekremkaraca did @dvanderbeek's suggestion fix your issue? If so, I think we can close.
ekremkaraca commented
Sorry for delay, it is unfortunately failed as it's shown below:
(Using bootswatch-rails' sample application.scss
file in README.md
:
// Example using 'Cerulean' bootswatch
//Import bootstrap-sprockets
@import "bootstrap-sprockets";
// Import cerulean variables
@import "bootswatch/cerulean/variables";
// Then bootstrap itself
@import "bootstrap";
// Bootstrap body padding for fixed navbar
// body { padding-top: 60px; }
// And finally bootswatch style itself
@import "bootswatch/cerulean/bootswatch";
// Whatever application styles you have go last
@import "base";