Deliver Awesome UI with the most complete toolboxes for .NET, Web and Mobile development
Automate UI, load and performance testing for web, desktop and mobile
A complete cloud platform for an app or your entire digital business
Detect and predict anomalies by automating machine learning to achieve higher asset uptime and maximized yield
Automate decision processes with a no-code business rules engine
Optimize data integration with high-performance connectivity
Connect to any cloud or on-premises data source using a standard interface
Build engaging multi-channel web and digital experiences with intuitive web content management
Personalize and optimize the customer experience across digital touchpoints
Build, protect and deploy apps across any platform and mobile device
Rapidly develop, manage and deploy business apps, delivered as SaaS in the cloud
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