- File:
-
- 1 edited
-
trunk/wp-content/themes/default/header.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/default/header.php
r4144 r3134 14 14 15 15 <style type="text/css" media="screen"> 16 17 <?php 18 // Checks to see whether it needs a sidebar or not 19 if ( !$withcomments && !is_single() ) { 20 ?> 16 /* To accomodate differing install paths of WordPress, images are referred only here, 17 and not in the wp-layout.css file. If you prefer to use only CSS for colors and what 18 not, then go right ahead and delete the following lines, and the image files. */ 19 20 body { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgcolor.jpg"); } 21 <?php /* Checks to see whether it needs a sidebar or not */ if ((! $withcomments) && (! is_single())) { ?> 21 22 #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg.jpg") repeat-y top; border: none; } 22 23 <?php } else { // No sidebar ?> 23 24 #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; } 24 25 <?php } ?> 26 #header { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickheader.jpg") no-repeat bottom center; } 27 #footer { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickfooter.jpg") no-repeat bottom; border: none;} 25 28 29 /* Because the template is slightly different, size-wise, with images, this needs to be set here 30 If you don't want to use the template's images, you can also delete the following two lines. */ 31 32 #header { margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height: 198px; width: 758px; } 33 #headerimg { margin: 7px 9px 0; height: 192px; width: 740px; } 34 35 /* To ease the insertion of a personal header image, I have done it in such a way, 36 that you simply drop in an image called 'personalheader.jpg' into your /images/ 37 directory. Dimensions should be at least 760px x 200px. Anything above that will 38 get cropped off of the image. */ 39 /* 40 #headerimg { background: url('<?php bloginfo('stylesheet_directory'); ?>/images/personalheader.jpg') no-repeat top;} 41 */ 26 42 </style> 27 43 … … 34 50 <div id="header"> 35 51 <div id="headerimg"> 36 <h1><a href="<?php echo get_ option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>52 <h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1> 37 53 <div class="description"><?php bloginfo('description'); ?></div> 38 54 </div>
Note: See TracChangeset
for help on using the changeset viewer.