Include font family in editor stylesheet
-
Hi,
I use the add_editor_style for better post and page editing experience :-), and I have a stylesheet attached to it:
add_editor_style( array( 'custom-editor-style.css' ) );
Of course I want to include the font family from frontend. I have this font enqueued in my functions file.
My question, should I import the font in file custom-editor-style.css too?
@import url(//fonts.googleapis.com/css?family=Open+Sans); body {font-family: 'Open Sans', sans-serif; font-size:1em; line-height:1.5em;}
Or is this not necessary? It seems to work without, but am not certain what to do.
Guido
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Include font family in editor stylesheet’ is closed to new replies.