Make WordPress Core

Opened 6 years ago

Closed 4 years ago

#19561 closed feature request (wontfix)

Allow a background colour to be set for custom headers

Reported by: hellweaver666 Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.1
Component: Customize Keywords:
Focuses: Cc:


Currently WordPress allows you to set a custom image background for the header and a custom text color but doesn't give the users a way to set a custom background color for the header.

Adding a simple color picker for the header background would give users a lot more flexibility in what they can do with the header without using external software to create graphics etc. Perhaps needs a way to activate it from the themes functions.php (suggest add_custom_header_color?)

Change History (6)

#1 @swissspidy
5 years ago

  • Version changed from 3.3 to 2.1

Can you list any use cases? The only one I can imagine being useful is a single colored header, which also could be done with a simple image...

#2 @kpdesign
5 years ago

  • Keywords 2nd-opinion added

A user shouldn't have to upload a solid color graphic to use as the background for a custom header.

While the custom header background color can be set in the theme's stylesheet, it would be nice if users had the option of setting the background color on the custom header page for use with transparent image logos.

#3 @nacin
4 years ago

  • Component changed from Themes to Appearance

#4 @celloexpressions
4 years ago

  • Keywords close added

This makes too many assumptions about what a theme's usage of custom headers will looks like. It's not something that will be beneficial to the majority of users, or even applicable to most themes (Twenty Fourteen, for example). It's easy enough for themes to implement this functionality with the Customizer if the theme's author thinks that it's something that would benefit their users. But it really doesn't belong in core.

This ticket was mentioned in IRC in #wordpress-dev by celloexpressions. View the logs.

4 years ago

#6 @obenland
4 years ago

  • Keywords 2nd-opinion close removed
  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

I agree with celloexpressions. Having background colors and images is one thing, allowing for a background color for headers seems to be very theme-specific though. It would also make things that much more confusing to users.

Note: See TracTickets for help on using tickets.