Add editor style not working
-
Hi,
For my theme I have added the add editor style function:
http://codex.wordpress.org/Function_Reference/add_editor_style1) File Functions:
function themename_editor_styles() { add_editor_style( 'custom-editor-style.css' ); $font_url = '//fonts.googleapis.com/css?family=Open+Sans'; add_editor_style( str_replace( ',', '%2C', $font_url ) ); } add_action( 'init', 'themename_editor_styles' );
2) Added file in root of my theme folder, called: custom-editor-style.css
3) Included style from my theme stylesheet (file style.css): @import url( ‘style.css’ );When I create new post > no difference in editor screen… What am I doing wrong? I guess I should notice a difference in editor screen…
Guido
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Add editor style not working’ is closed to new replies.