WordPress.org

Forums

How to add Editor Styles (1 post)

  1. frederickpolk
    Member
    Posted 3 years ago #

    If you cannot get your editor style.css file to link to your functions.php file, add a slash to the beginning to your file name:

    /**
     * Custom CSS for WYSIWYG Editor – TinyMCE
    */
    // this has to be placed near the top of your function.php
    // This theme styles the visual editor with editor-style.css to match the theme style.
    	add_editor_style( '/editor-style.css' );

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by frederickpolk
  • This topic is not a support question
  • WordPress version: 3.3.2