WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 6 months 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:

Description

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)

comment:1 @swissspidy17 months 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...

comment:2 @kpdesign16 months 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.

comment:3 @nacin13 months ago

  • Component changed from Themes to Appearance

comment:4 @celloexpressions6 months 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.

comment:5 @ircbot6 months ago

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

comment:6 @obenland6 months 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.