CSS adjustments for the custom-image-header.php apparently there was an extra } all this time.

Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
Philip M. Hofer (Frumph) 2009-12-26 05:54:22 -08:00
parent 463edd67d2
commit 7ab9c22c9c
1 changed files with 25 additions and 25 deletions

View File

@ -36,34 +36,34 @@ if ($comicpress_options['enable_custom_image_header']) {
function theme_header_style() { function theme_header_style() {
?> ?>
<style type="text/css">
#header <style type="text/css">
{ #header {
width: <?php echo HEADER_IMAGE_WIDTH; ?>px; width: <?php echo HEADER_IMAGE_WIDTH; ?>px;
height: <?php echo HEADER_IMAGE_HEIGHT; ?>px; height: <?php echo HEADER_IMAGE_HEIGHT; ?>px;
background: url(<?php header_image(); ?>) no-repeat center; background: url(<?php header_image(); ?>) center center no-repeat;
} }
<?php <?php
// Has the text been hidden? // Has the text been hidden?
// If so, set display to equal none // If so, set display to equal none
if ( 'blank' == get_header_textcolor() ) { ?> if ( 'blank' == get_header_textcolor() ) { ?>
#header h1, #header .description { #header h1, #header .description {
display: none; display: none;
} }
<?php } else {
// Otherwise, set the color to be the user selected one <?php } else {
?> // Otherwise, set the color to be the user selected one
#header * ?>
{
color: #<?php header_textcolor();?>; #header * {
} color: #<?php header_textcolor();?>;
} }
<?php } ?> <?php } ?>
</style> </style>
<?php
} <?php }
if ( function_exists('add_custom_image_header') ) { if ( function_exists('add_custom_image_header') ) {
add_custom_image_header('theme_header_style', 'theme_admin_header_style'); add_custom_image_header('theme_header_style', 'theme_admin_header_style');
} }