Font change not working?

Font change not working?
0.0 0

#1

Hey guys, please can someone tell me why my font isn’t changing on my portfolio project? It’s the “CREATIVITY VISION PASSON” text in the about section. For some strange reason it isn’t roboto anymore?

Thanks in advance!


#2

There are 2 changes you can make In your CSS. Add the h2 selector after body and change font to font-family.

CHANGE:

html, body {
  font: roboto, sans-serif;
  height: 100%;
  color: #666666;
}

TO

html, body h2 {
  font-family: roboto, sans-serif;
  height: 100%;
  color: #666666;
}

#3

Thanks a lot! I was starting to pull my hair out! I had tried adding in the h2 selector which did nothing. Font-family worked.

Thanks