Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I must be missing something with regards to variables #76

Open
ScotsScripts opened this issue Oct 24, 2012 · 1 comment
Open

I must be missing something with regards to variables #76

ScotsScripts opened this issue Oct 24, 2012 · 1 comment

Comments

@ScotsScripts
Copy link

Hi,

I think I'm misssing something obvious here. Let's say I add the following two lines to my scss file so I can change a couple bootstrap default variables:

$navbarHeight: 100px;
$navbarBackground: red;

When compass compiles the new .css file, the values I put in are being ignored and the default bootstrap values are being used.

What am I doing wrong?

Thanks,

Scot

@ScotsScripts
Copy link
Author

Ok, I was able to figure out the answer to this one. It's pretty easy, but not obvious for the compass/bootstrap novice.

All the variables need to be set in the scss file BEFORE the @import "bootstrap"; and related lines, not after. Goes against my personal logic, but whatever works!

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

No branches or pull requests

1 participant