WordPress.org

Ready to get started?Download WordPress

Forums

TinyMCE Advanced
[resolved] add custom css how to? (3 posts)

  1. grigione
    Member
    Posted 5 months ago #

    I want add a custom plain test css in a page with tinymce advanced
    It's possible?
    for example:

    <style type="text/css">
    p,d1 {margin-bottom:1px}
    #chisiamofont{
    text-align: justify;
    font-size: 120%;
    font-weight:bold;
    color:#000000;
    }
    </style>

    https://wordpress.org/plugins/tinymce-advanced/

  2. Kolya Korobochkin
    Member
    Posted 5 months ago #

    You can add your styles by adding editor-style.css in your theme folder. After this you need Advanced TinyMCE Config plugin (with this one you can add custom buttons with some classes or other stuff).

  3. Andrew Ozz
    WordPress Dev
    Plugin Author

    Posted 5 months ago #

    There are plugins that would let you add custom CSS bits to any post of page on the front-end. If you want to add that to all posts/pages, and inside the editor, you will probably be better off by creating a child theme of your current theme and editing style.css and editor-style.css as @korobochkin said.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.