@font-face location for Edit Stylesheet Property preview in Settings?
I have a custom font on my website. It displays correctly on the webpages and in the WYSIWYG rich text editor but not in the 'preview' section in the stylesheet settings.
I assume I have my @font-face declaration in the wrong stylesheet. Can someone point me to where this would be needed?
The CSS for the 'preview' section in the stylesheet settings, I think you need to add your @font-face, into the stylesheet called LiveEditing.css. It is located in ~\Umbraco\LiveEditing\Css\LiveEditing.css
One downside with this is if you upgrade you Umbraco installation you need to remember not to override this CSS file or make the changes again, after you have done the upgrading.
@font-face location for Edit Stylesheet Property preview in Settings?
I have a custom font on my website. It displays correctly on the webpages and in the WYSIWYG rich text editor but not in the 'preview' section in the stylesheet settings.
I assume I have my @font-face declaration in the wrong stylesheet. Can someone point me to where this would be needed?
Hi Paul,
The CSS for the 'preview' section in the stylesheet settings, I think you need to add your @font-face, into the stylesheet called LiveEditing.css. It is located in ~\Umbraco\LiveEditing\Css\LiveEditing.css
One downside with this is if you upgrade you Umbraco installation you need to remember not to override this CSS file or make the changes again, after you have done the upgrading.
Hope this helps,
/Dennis
Thanks Dennis, much help.
I guess this is solution is outdated. ~\Umbraco\LiveEditing\Css\LiveEditing.css no longer exists in Umbraco (7.9.2).
Is there a more recent solution?
is working on a reply...