Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 67836

Add web fonts to the font menu from Frontier Buttons

$
0
0

Replies: 0

I’ve installed the Frontier Buttons plug-in to get a font menu added to the visual editor. I’ve added some web fonts to the site, but those fonts don’t show up in the menu, even though I’ve declared them in my css…

@font-face {
  font-family: 'Roboto';
  font-style: lighter;
  font-weight: 300;
  src: local('Roboto'), local('Roboto-Light'), url(fonts/Roboto-Light.ttf) format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url(fonts/Roboto-Regular.ttf) format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: bold;
  font-weight: 700;
  src: local('Roboto Bold'), local('Roboto-Bold'), url(fonts/Roboto-Bold.ttf) format('truetype');
}

Is this a function I can modify through the core functions? With a few searches in the Frontier Button code, I’m not coming across anything that clues me in on how the basic fonts are showing up in there.


Viewing all articles
Browse latest Browse all 67836

Trending Articles