editor-style.css, style.css & child theme
-
Does the style.css affect only how our sites look on the web, and the editor-style.css affects only how our posts look in our dashboard editor?
A table with nested lists looks way better in my dashboard editor than it does when I Preview the post. If I copy the table and list styles in editor-style.css and paste them over the table and list styling in my child theme’s style.css file (and upload it), will the post Preview look like it does in my dashboard editor?
Yeah, I’d have to tailor the editor-style.css stuff to fit the .entry-content class format in the style.css.
Currently, inline styling changes to tables and lists in the post via the dashboard editor do not have the same effect in Preview that they do in the dashboard editor. The editor is sensitive to the changes; the Preview barely budges. I’m using Twenty Twelve v.1.4.
If both css files affect the published post, then do I need to add a @import url(“../twentytwelve/editor-style.css”); line to my child theme in order to edit the style in that file?
- The topic ‘editor-style.css, style.css & child theme’ is closed to new replies.