CultivateLabs / storytime

Storytime is a Rails 4+ CMS and blogging engine, with a core focus on content. It is built and maintained by @cultivatelabs
MIT License
752 stars 81 forks source link

Customising theme with bootswatch #145

Open ekremkaraca opened 9 years ago

ekremkaraca commented 9 years ago

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 9 years ago

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 9 years ago

@ekremkaraca did @dvanderbeek's suggestion fix your issue? If so, I think we can close.

ekremkaraca commented 9 years ago

Sorry for delay, it is unfortunately failed as it's shown below:

EWB40vF

(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";