change css to css.erb and set assets_path for bgimage