[wp-trac] [WordPress Trac] #20132: Custom Background Image issue

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 11 20:53:44 UTC 2012


#20132: Custom Background Image issue
------------------------------+-----------------------
 Reporter:  nhuja             |       Owner:
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  3.4
Component:  Themes            |     Version:  3.3.1
 Severity:  normal            |  Resolution:
 Keywords:  revert has-patch  |
------------------------------+-----------------------

Comment (by nacin):

 Thinking aloud, if a theme wanted to include a background-image in the
 stylesheet, as a fallback in case, for example, `remove_theme_support
 ('custom-background')` is called, then this would work:
 {{{
 body { background-image: url( ... ); }
 body.custom-background { background-image: none }
 }}}

 Then the inline body.custom-background style would take over.

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


More information about the wp-trac mailing list