Wrong path for bower plugins with fonts

You should be able to add these variables without the !default flag in your _variables.scss file and slick should re-compile with those new values! This is what we’ve used in a recent project:

$slick-font-path: "../fonts/";
$slick-loader-path: "../images/";

You can also update your bower.json to override the defaults for slick like this:

"slick-carousel": {
  "main": [
    "./slick/slick.js",
    "./slick/slick.scss",
    "./slick/slick-theme.scss",
    "./slick/ajax-loader.gif",
    "./slick/fonts/*"
  ]
}

Hope that works. I happened to have a project open :wink:

1 Like