Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Seth Barthen
Seth Barthen
11,266 Points

Help with Compass

Hello! So I'm finally starting to understand the power of Foundations mixed with Compass. Awesome stuff! Except I ran into a snag and I can't figure out why it keeps doing this...

I'm trying to change all my responsive class (small, medium, large) media queries in the _settings.scss from their original min-widths to max-width.

When I do this though Ruby is giving me some tude that goes something like this.

Change detected at 15:17:27 to: _settings.scss identical css/app.scss

I think because of this it is not actually making any of the changes(am I correct with that assumption)?

What did I do to mess it up, or am I just doing something that is not allowed to happen? I am using an additional stylesheet to perform these layouts(this whole thing is for my navbar) under _layout.scss, but yea.. I'm stuck. Please help :)

Thanks! Seth

5 Answers

Iago Wandalsen Prates
Iago Wandalsen Prates
21,699 Points

Are you importing _layout.scss? The underscore before the scss name means compass wont create a file name _layout.scss, and if you are not importing this file anywhere, nothing will change, regardless how much you change the layout file.

Seth Barthen
Seth Barthen
11,266 Points

Yep, it's in my app.scss bit. Regardless, I'm not worried about the layout.scss because that always seems to work, but anytime I try to change the _settings.scss it will just say identical and nothing changes :(

Iago Wandalsen Prates
Iago Wandalsen Prates
21,699 Points

Sorry, i missread. Either way, are you importing _settings.scss?

Seth Barthen
Seth Barthen
11,266 Points

Yep, it's one of the first things that I have imported in my app.scss file. I've actually asked this same question on stackflow and foundations forum as well and no one has responded. So thank you for at least trying. I've kind of given up at this point and just started writing out the media queries manually. I'm not sure if I'm asking the question wrong or no one knows how to fix it... I wish Guil would respond to this as he is the one that ran the compass course...

Iago Wandalsen Prates
Iago Wandalsen Prates
21,699 Points

What you mean "When I do this though Ruby"? What are you using to compile the scss? And may you paste a sample of the previous code, that worked, and the new one?

Seth Barthen
Seth Barthen
11,266 Points

Hey Iago, you use Ruby to compile compass, no? At least that is what I'm using... I go to my websites directory then.... compass watch. There is no code to really show besides what's already given in _settings.scss in Foundations 4 Sass. It just won't let me change any of the options :(

Seth Barthen
Seth Barthen
11,266 Points

Hey Iago, you use Ruby to compile compass, no? At least that is what I'm using... I go to my websites directory then.... compass watch. There is no code to really show besides what's already given in _settings.scss in Foundations 4 Sass. It just won't let me change any of the options :(