• is there a way to match the front end styles with the admin WYSIWYG? I tried some a long time ago but they were really convoluted and took a ton of set up. I want a simple solution that will just mimic background color font sizes/styles.

    any ideas?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Phil

    (@owendevelopment)

    You could try editing colors-fresh.css in admin folder, but keep a copy as when you upgrade WP, you will need to restore it back again.

    Nodon’t edit colors-fresh.css. Create an editor-style.css file in your theme and enable it within your theme’s functions.php by adding add_editor_style();.

    Thread Starter hellowoo

    (@hellowoo)

    I was thinking something a bit more streamlined. if I change the template styles it would change the admin styles as well.

    Thread Starter hellowoo

    (@hellowoo)

    esmi, this sounds a lot more promising.

    You’ll find an example of an editor-style.css in the Twenty Eleven theme that might help you get started. I’d also suggest using Firefox with Firebug to help you build up your own theme’s editor style.

    Thread Starter hellowoo

    (@hellowoo)

    just tried it, this works perfect! much better than expected.

    I’m trying to change the background, I just inspected the element, but not sure if this is proper way of doing so. is this ok?

    #tinymce {
    	background: black;
    }

    I’ve not tried that. I’ve used something like:

    html .mceContentBody {
    	background:black;
    }

    for my editor-style.css files.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘styles for WYSIWYG’ is closed to new replies.