Header Text Color
-
Hey!
I’m pretty new to WordPress I am creating a custom theme and recently updated to 3.4. Atm I’m configuring the header, to make it easy for upcoming users change it. I managed witout any problems getting the Custom Header Picture to work but I can not get the text to change color or be enabled/disabled in the Customize area or Header area under Appearance.
The html-code for the header looks like following atm:
<header role="banner"> <img src="<?php header_image(); ?>" height="<?php echo get_custom_header()->height; ?>" width="<?php echo get_custom_header()->width; ?>" alt="" /> <h1 id="site-title"> <a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a> </h1> </header>
and in functions.php:
$args= array( 'width' => 1000, 'height' => 200, 'default-image' => get_template_directory_uri() . '/images/header.png', 'uploads' => true, 'flex-height' => true, 'default-text-color' => '#fff', 'header-text' => true, ); add_theme_support( 'custom-header', $args);
I hope anyone can help me 🙂
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Header Text Color’ is closed to new replies.