• I somehow messed up the code in this portion of the header:

    function spacious_admin_header_image() {
    $style = sprintf( ‘ style=”color:#%s;”‘, get_header_textcolor() );
    ?>
    <div id=”headimg”>

    <h1 class=”displaying-header-text”> onclick=”return false;” href= <?php echo esc_url( home_url( ‘/’ ) ); ?>”><?php bloginfo( ‘name’ ); ?></h1>

    <div class=”displaying-header-text” id=”desc”<?php echo $style; ?>><?php bloginfo( ‘description’ ); ?></div>

    <?php if ( get_header_image() ) : ?>

    <img src=”<?php header_image(); ?>” alt=”<?php bloginfo( ‘name’ ); ?>”>
    <?php endif; ?></div>
    <?php
    }
    endif; // spacious_admin_header_image

    I keep getting this error message:

    Parse error: syntax error, unexpected ‘<‘ in /home1/ab2405/public_html/wp-content/themes/spacious/inc/custom-header.php on line 127

    I’m a newbie to this and am lost. Anyone know the original css code I can use to fix it?

The topic ‘Header CSS Not Working’ is closed to new replies.