[wp-trac] Re: [WordPress Trac] #7121: Wordpress default theme does not use correct background

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 12 16:59:30 GMT 2008


#7121: Wordpress default theme does not use correct background
----------------------------+-----------------------------------------------
 Reporter:  christmasboy81  |        Owner:  anonymous
     Type:  defect          |       Status:  new      
 Priority:  normal          |    Milestone:  2.5.2    
Component:  General         |      Version:  2.5.1    
 Severity:  minor           |   Resolution:           
 Keywords:                  |  
----------------------------+-----------------------------------------------
Comment (by christmasboy81):

 Replying to [comment:2 hansengel]:
 > This bug doesn't seem to be existent with r8071.. my background is
 loaded from `/wp-content/themes/default/images/kubrickbgcolor.jpg` .

 Sorry, this is related to the page background (where the content is), and
 not the body background.

 The full code from header.php is:

 {{{
 15      <?php
 16      // Checks to see whether it needs a sidebar or not
 17      if ( !empty($withcomments) && !is_single() ) {
 18      ?>
 19          #page { background: url("<?php
 bloginfo('stylesheet_directory'); ?>/images/kubrickbg-<?php
 bloginfo('text_direction'); ?>.jpg") repeat-y top; border: none; }
 20      <?php } else { // No sidebar ?>
 21          #page { background: url("<?php
 bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y
 top; border: none; }
 22      <?php } ?>
 }}}

 The result is that the entire body is the color of kubrickbgwide.jpg.
 kubrickbg-ltr.jpg has a colored area for the sidebar.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7121#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list