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

where to put my own scss? #252

Closed
JuliaRietveld opened this issue Mar 2, 2015 · 2 comments
Closed

where to put my own scss? #252

JuliaRietveld opened this issue Mar 2, 2015 · 2 comments

Comments

@JuliaRietveld
Copy link

Hi,
There is no _base.scss file anymore in this version of FoundationPress. I'm putting my custom styles in _hero.scss but I have to use !important way to often to make them have effect. Is there a better way? Thank you for your reply!

@Aetles
Copy link
Contributor

Aetles commented Mar 2, 2015

You could also create your own scss/site/_custom.scss and then add @import "site/custom"; to scss/foundation.scss instead of editing the other files. (That does not change the override problem, though.)

@Pautomagi
Copy link

The order of @import in scss/foundation.scss does matter to what you will be overriding. If you place custom at the bottom it will ovveride all above if you use a selector that is previously used.

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

4 participants