CSS Code for eras light itc
The answer lies in the way different browsers interpret fonts for example
Firefox allows the use of "Eras ITC",
Chrome wants you to pick one of the variations of Eras, as in "medium", "bold", etc. but won't let your just use "Eras ITC".
IE9 doesn't care and will render all fonts installed on your windows system (you can check just by typing "fonts" in your start menu and picking installed fonts.)
Opera seems to work similar to IE9 as far as using system fonts
here is the answer that works:
{font-family: "Eras ITC", "Eras Light ITC", sans-serif ;}
This will work in all browsers, at least on windows systems... sans-serif is just kind of a fall back for any failure with the first two fonts.
Font works in IE, but but not Firefox or Chrome
When you are using white-spaces for font names you have to put them in quotes, like so:
font-family: "Eras ITC", "Eras Light ITC", Sans-Serif;
Browsers not honoring fonts in bootstrap
Are you using Google Fonts to render Open Sans or is it the font for your Bootswatch Theme? If you're rendering via Google Fonts, make sure that your link to it comes AFTER your bootstrap.css files.
Also: if you're working with a live site make sure that you're not getting stymied by the site's cache (which can cause delays in the changes to a .css file displaying).
Font family preview in TinyMCE
Unfortunately I can't back any of this up with documentation, but if we disect the codepen provided by @skobalijc, we can see that what TinyMCE itself is made up of some elements inserted directly into the DOM which make up the menus and UI, and an iframe
for the content area.
What content_css: ['//fonts.googleapis.com/css?family=Indie+Flower'],
does is to add a link into the content iframe, so nothing outside of that iframe has access to the font. The easiest fix is just to add a link to your font stylesheet
<link rel="stylesheet prefetch" href="//fonts.googleapis.com/css?family=Indie+Flower">
into the head of your main document as well as using the content_css
parameter in your TinyMCE initialisation, as you can see here: https://codepen.io/anon/pen/bMwwrG
Related Topics
Set Chart Area Background Color in Rcharts/Slidify/Nvd3
Loops Make Less to Run Out of Memory. (Structure Optimization)
Redmine 3.3.0 (Ruby on Rails 4.2.6) Stylesheets Not Generated/Included in Application.CSS
Customizing Twitter Bootstrap Grid Does Not Work
What Is The 'Best Practice' Way of Creating an Icon Button with an Svg
CSS or HTML5 for First and Last Elements
Center Div on The Middle of Screen
Background Color in Input and Text Fields
How to Output Compressed CSS from Compass
Easy Tool to Decompose Sprite Image
Svg Rotation Animation Failing in Ie and Ff
Responsive Irregular Background Shape with CSS
Vertical Alignment of Column Rows in Bootstrap Grid
Color Change of Navigation Buttons When Scrolling Up and When Scrolling Down
How to Embed an CSS Background Image Link with Jsf
Less CSS Compiler. Unable to Use Darken Property