Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

bootswatch-rails theme doesn't work all

I try to use bootswatch-rails, but it doesn't work well, for example, button doesn't appear right, not like on the bootwatch site, that show.
I put bootstrap-sass and bootswatch in my gemfile and bundle install

group :assets do
  gem 'sass-rails',   '~> 3.2.3'
  gem 'coffee-rails', '~> 3.2.1'
  gem 'bootswatch-rails', '>=0.2.0'

  gem 'uglifier', '>= 1.0.3'
end
gem 'bootstrap-sass', '>= 2.1.0.0'

and in my bootstrap_and_overrides.css.scss file looks like this

// First import journal variables
@import "bootswatch/cerulean/variables";

// Then bootstrap itself
@import "bootstrap";

// Responsive styles go here in case you want them
@import "bootstrap-responsive";

// And finally bootswatch style itself
@import "bootswatch/cerulean/bootswatch";  

I really don't know what I do wrong.

like image 601
softshipper Avatar asked Mar 07 '26 09:03

softshipper


1 Answers

do you have any other css files being imported that you aren't taking into consideration such as scaffold.css (when you generate a resource via the scaffold command)?

like image 174
neon Avatar answered Mar 09 '26 23:03

neon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!