I am trying to include a custom font in my lightning components. Unfortunately I am not managing in doing that. I uploaded a .eot file to my static resources and now I am trying to reference to it. Like this:
.THIS .font {
font-family: GothamBold;
}
@font-face {
font-family:'GothamBold';
src: "{!$Resource.B2B_Partners_GothamBold}";
}
I believe the src is the correct path, but what is going wrong? Or does anyone have a tip on how to include the font GothamBold in my lightning components. Or is there somewhere a tutorial on how to include a custom font as a static file in a lightning component?