[wp-trac] [WordPress Trac] #16919: style.css can sometimes conflict with custom background image

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 21 21:54:10 UTC 2011


#16919: style.css can sometimes conflict with custom background image
--------------------------+-----------------------------
 Reporter:  nathanrice    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:  3.1
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 Steps to repeat:

 1. Theme with the following body style (or something similar):

 {{{
 body {
         background: url(images/texture.jpg) #fff;
 }
 }}}

 2. Use `add_custom_background();` in functions.php

 3. Select custom bg color, but no custom bg image.

 4. View site. Custom bg color shows under the default background image,
 looks strange. No way to eliminate the use of textured or patterned
 background without editing style.css.

 Intended result would be that if no bg image is chosen, none is needed.

 Attached patch should address this.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16919>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list