How do you add fonts to Text Editor so you can use them in the content block, blogs etc. I tried doing it from within my theme by overriding the style of the custom box however it does not work. Does anyone have any suggestions to go about this? I have 6 fonts to add in which they need to be able to be used in the front-end on the page design. Would it be easier overriding it using a theme or adding them to Text Editor?
I tested the code, all changes occur except for the font.
src: url('..fonts/Quicksand-Italic.otf') format('opentype');<br>
src: url('..fonts/Quicksand-Italic.otf') format('opentype');<
font-style: normal;<br> font-weight: normal;
> font-weight: normal;
/*Section is CSS File*/
.sfContentBlock h1 font-family:'QuickSand-Italic'; color: orange;
Is there something wrong with my code?
You need to do it with CSS. You can find more information about css inside you theme ob this link: http://docs.sitefinity.com/custom-themes-and-templates-create-the-css-of-the-theme
For example for change font size of Heading 1 (h1 tag) only inside content blocks you need to write this css code
Can you open Developer Tools in you Chrome and open you page, where font is not working. Do you have any errors in console?
It looks like you web server need to setup correct mime type for .otf files
Let me know, if you have any questions