Menu icon Foundation
Undefined variable $gutters

Hello, 

I am new in using foundation. I want to implement it in a word press theme. I have downloaded the latest version and implemented on the server. I am using WP-SCSS to compile my scss files. I don't know what mistakes I have made, but I have the fallowing errors:

-when including foundation-grid I come across Undefined variable $gutters

-when including foundation-off-canvas I come across Undefined variable $str

In rest it seems to work ok. Thank you very much for your help.

$gutters$strFoundation

Hello, 

I am new in using foundation. I want to implement it in a word press theme. I have downloaded the latest version and implemented on the server. I am using WP-SCSS to compile my scss files. I don't know what mistakes I have made, but I have the fallowing errors:

-when including foundation-grid I come across Undefined variable $gutters

-when including foundation-off-canvas I come across Undefined variable $str

In rest it seems to work ok. Thank you very much for your help.

Rafi Benkual about 1 year ago

 

Edit:

Seems like you're missing some imports. You might compare with https://github.com/zurb/foundation-zurb-template

 

You'll use map-get which is a function of Sass to get the value, example

padding: 38px map-get($grid-column-gutter, small);