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:
parent
463edd67d2
commit
7ab9c22c9c
|
@ -36,33 +36,33 @@ if ($comicpress_options['enable_custom_image_header']) {
|
||||||
|
|
||||||
function theme_header_style() {
|
function theme_header_style() {
|
||||||
?>
|
?>
|
||||||
<style type="text/css">
|
|
||||||
#header
|
|
||||||
{
|
|
||||||
width: <?php echo HEADER_IMAGE_WIDTH; ?>px;
|
|
||||||
height: <?php echo HEADER_IMAGE_HEIGHT; ?>px;
|
|
||||||
background: url(<?php header_image(); ?>) no-repeat center;
|
|
||||||
}
|
|
||||||
|
|
||||||
<?php
|
<style type="text/css">
|
||||||
|
#header {
|
||||||
|
width: <?php echo HEADER_IMAGE_WIDTH; ?>px;
|
||||||
|
height: <?php echo HEADER_IMAGE_HEIGHT; ?>px;
|
||||||
|
background: url(<?php header_image(); ?>) center center no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
<?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');
|
||||||
|
|
Loading…
Reference in New Issue