Tinymce doesn't use my theme's css styleheet
-
i’ve added these lines to my functions.php:
// Connect the WordPress post editor to your custom stylesheet function my_theme_add_editor_styles() { add_editor_style( 'editor-style.css' );
Than i got the message in Design > Editor:
WordPress Wiki Theme: Stylesheet für WYSIWYG-Editor (editor-style.css)
where i added this link to my current themes css document which is in the same directory like the editor-style.css
@import url( ’style_blue.css‘ );
/* Add overwrites as needed so that the content of the editor field is attractive and not broken */ body { padding: 0; background: #fff; }
But i get still only the wp-content.css.
What am i doing wrong?
Ansicht von 1 Antwort (von insgesamt 1)
Ansicht von 1 Antwort (von insgesamt 1)
- Das Thema „Tinymce doesn't use my theme's css styleheet“ ist für neue Antworten geschlossen.