Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

How to import 3rd party css? #1034

Closed
huytrq opened this issue Aug 10, 2017 · 3 comments
Closed

How to import 3rd party css? #1034

huytrq opened this issue Aug 10, 2017 · 3 comments

Comments

@huytrq
Copy link

huytrq commented Aug 10, 2017

I want to add fancybox (https://github.com/fancyapps/fancybox) in my dist stylesheet. I tried doing this by:

  1. bower install --save fancybox
  2. In the gulfile.js, update the value of PATHS.sass to:
    sass: [
  'assets/components/foundation-sites/scss',
  'assets/components/fontawesome/scss',
  'assets/components/fancybox/dist/jquery.fancybox.min.css'

],
3. Running npm run watch

However, its contents are not included in \assets\stylesheet\app.css.

Could you tell me how I'm meant to import 3rd-party css from the bower components folder into my production code?

@olefredrik
Copy link
Owner

What version of FoundationPress are you on?

@huytrq
Copy link
Author

huytrq commented Aug 10, 2017

I'm using version 2.9.2

@olefredrik
Copy link
Owner

Instead of modifying the gulpfile, you could just include the stylesheet in your foundation.scss file.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants