Make WordPress Core


Ignore:
Timestamp:
03/11/2005 11:56:29 PM (20 years ago)
Author:
ryan
Message:

Add sidebar background for pages. http://mosquito.wordpress.org/view.php?id=1083 Props: kim

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/header.php

    r2321 r2434  
    2222                not, then go right ahead and delete the following lines, and the image files. */
    2323           
    24         body        { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgcolor.jpg"); }    <?php /* Checks to see whether it needs a sidebar or not */ if ((! $withcomments) && (! is_single()) && (! is_page())) { ?>
     24        body        { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgcolor.jpg"); }    <?php /* Checks to see whether it needs a sidebar or not */ if ((! $withcomments) && (! is_single())) { ?>
    2525            #page       { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg.jpg") repeat-y top; border: none; } <?php } else { // No sidebar ?>
    2626            #page       { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; } <?php } ?>
Note: See TracChangeset for help on using the changeset viewer.