• Resolved Sany

    (@sannny)


    Hello,

    I want to modify a Tiny MCE style in wp-includes/js/tinymce/skins/wordpress/wp-content.css. How can I override the styles in my theme without changing core files?

    I already have a function in my functions.php which registers a stylesheet for overriding styles in wp-includes/css/editor.min.css:

    function load_custom_wp_admin_style() {
    	wp_register_style('custom_wp_admin_css', get_stylesheet_directory_uri() . '/admin-style.css');
    	wp_enqueue_style('custom_wp_admin_css');
    }
    add_action('admin_enqueue_scripts', 'load_custom_wp_admin_style');

    But this doesn’t seem to work for wp-includes/js/tinymce/skins/wordpress/wp-content.css.

    I found the filter mce_css, maybe this is the right one.

    Hopefully, anyone can help me.

    Best regards
    saNNNy

    • This topic was modified 7 years, 11 months ago by Sany.
    • This topic was modified 7 years, 11 months ago by Sany.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Override Tiny MCE Styles’ is closed to new replies.