Title: Header CSS Not Working
Last modified: August 22, 2016

---

# Header CSS Not Working

 *  [e3000](https://wordpress.org/support/users/e3000/)
 * (@e3000)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/header-css-not-working/)
 * 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>
   >  <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.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/spacious/1.9.12/screenshot.jpg)
 * Spacious
 * [Support Threads](https://wordpress.org/support/theme/spacious/)
 * [Active Topics](https://wordpress.org/support/theme/spacious/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/spacious/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/spacious/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * 0 replies
 * 1 participant
 * Last reply from: [e3000](https://wordpress.org/support/users/e3000/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/header-css-not-working/)
 * Status: not resolved