[wp-trac] [WordPress Trac] #21627: Filter for custom-background CSS selector

WordPress Trac wp-trac at lists.automattic.com
Sat Aug 18 15:31:00 UTC 2012


#21627: Filter for custom-background CSS selector
-------------------------+------------------------------
 Reporter:  Horttcore    |       Owner:  Horttcore
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Themes       |     Version:  3.4.1
 Severity:  trivial      |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by Horttcore):

 With the filter you could set it to any other element i.e. html which
 could be better for the theme.

 Here is a sample code:

 {{{
 body {
    margin: auto;
    width: 965px;
 }
 }}}

 With the current selector just a part of the site will have the custom
 background.
 The background should be applied to the highest element in the DOM by
 default and that would be html.

 We could add this filter or just change the selector to the html element.

 What do you prefer?

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


More information about the wp-trac mailing list