Add web fonts to the font menu from Frontier Buttons
-
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 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Add web fonts to the font menu from Frontier Buttons’ is closed to new replies.