Menu icon Foundation
Foundation Variables not working, sort of.

I generally don't have a probably changing the value of the variables either in the settings.scss or in my custom.scss. For example I can easily change the font color using $body-font-color, and this in my custom.scss. However I am trying to change the background color of the titlebar using $titlebar-background with no luck, neither in settings.scss or custom.scss. In fact I can't use any of the variables in the docs under http://foundation.zurb.com/sites/docs/off-canvas.html. Does anyone know why this is happening?

 

 

variablesfoundation frameworkSasscss

I generally don't have a probably changing the value of the variables either in the settings.scss or in my custom.scss. For example I can easily change the font color using $body-font-color, and this in my custom.scss. However I am trying to change the background color of the titlebar using $titlebar-background with no luck, neither in settings.scss or custom.scss. In fact I can't use any of the variables in the docs under http://foundation.zurb.com/sites/docs/off-canvas.html. Does anyone know why this is happening?

 

 

Rafi Benkual over 2 years ago

 You might be on an older version of Foundation. Some variable are added in over time. You might try creating a new project with the CLI to get the latest.

Shannon Schärer over 2 years ago

It is probably important to note that I am working with YETI and that the variables mentioned in http://foundation.zurb.com/sites/docs/off-canvas.html aren't in the settings.scss.