[wp-trac] [WordPress Trac] #14430: editor-style.css of a child theme overriden by parent theme

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 17 04:46:20 UTC 2011


#14430: editor-style.css of a child theme overriden by parent theme
-------------------------------------+-------------------------
 Reporter:  helix84                  |       Owner:  JohnPBloch
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  3.1
Component:  Formatting               |     Version:  3.2.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |
-------------------------------------+-------------------------
Changes (by somatic):

 * keywords:  has-patch => has-patch needs-refresh
 * resolution:  fixed =>
 * status:  closed => reopened
 * component:  General => Formatting
 * version:  3.0 => 3.2.1


Comment:

 I'm seeing this same behavior again, in 3.2.1

 I've got a twentyeleven child theme using add_editor_style() to register a
 custom .css file. In the page source, I can see the
 {{{
 tinyMCEPreInit
 }}}
  arguments, and the one for content_css shows my child editor style
 loading first, then the parent. I can confirm that unless I use !important
 in my child editor stylesheet, I am unable to override the parent styles.

 {{{
 content_css:"http://mysite.com/wp-content/themes/my-child-theme/child-
 editor-style.css,http://baruch.somaticstudios.com/wp-
 content/themes/twentyeleven/editor-style.css"
 }}}

 was this patch lost somehow?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14430#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list