[Plugin: TinyMCE Advanced] No success adding styles to editor-styles.css
-
I’m trying to add a few text styles to the drop-down styles box, without success.
I have added
.sub-content { color: Blue; font-size: 13px; margin: 0 0 .8125em; } .small-content { color: Gray; font-size: 12px; font-weight: bold; }in the editor-style.css file that’s in my original twentyeleven theme’s folder. I even uploaded the same file to my child theme’s folder. I’ve also added the styles in my stylesheet editor in the Dashboard. In the advanced settings menu, I have tried both checking and unchecking “Load the CSS classes used in editor-style.css and replace the Formats button and sub-menu”. Nothing seems to work. My drop-down box still shows only Paragraph, Address, Pre (I don’t know what that’s supposed to be, and I don’t know where it’s coming from because I don’t see it in the editor-style.css file), Heading 1, Heading 2, Heading 3, Heading 4, Heading 5 and Heading 6.
Earlier, I was able to change the properties of the h5 class in the Dashboard’s style editor, and when the page was published the text looked the way I wanted, but when using the TinyMCE editor in visual mode the changes were not visible.
The topic ‘[Plugin: TinyMCE Advanced] No success adding styles to editor-styles.css’ is closed to new replies.