← Back to Upcase

Bourbon, neat and bitter font-family problem


(Scott Hollinshead) #1

Hi @kylefiedler

This might be a stupid question, but I am using bourbon, neat and bitters and for some reason if I try and add a font-family to a div, it is not changing the font unless I be more specific.

I am having to do

.logo h1 {
  ...
}

instead of just

.logo {
}

Am I missing something really obvious?

Thanks


(Kyle Fiedler) #2

@scott I couldn’t tell you unless I could see all of your Sass. Also this isn’t a Bourbon / Neat issue as it doesn’t change the font-family anywhere.


(Scott Hollinshead) #3

@kylefiedler It’s coming from bitter, I will send you the sass When I am home tonight :grin:


(Scott Hollinshead) #4

@kylefiedler This is all my sass files on github

Thanks


(Kyle Fiedler) #5

@scott in bitters there is a declaration for the headers font-family. This is why you need to override that. My suggestion is to change the variable $header-font-family in bitters variables.scss file to the font family you want instead of overriding it here.


(Scott Hollinshead) #6

@kylefiedler Ah!! got it :slight_smile: thanks.