Forums

Custom header colour? (1 post)

  1. hellweaver666
    Member
    Posted 6 months ago #

    Hi guys,

    I have a couple of basic themes in the Themes Directory and following feedback from users, I'm slowly adding more advanced functionality. At the moment, I'm trying to add custom header support to my theme (Hello Sexy) using the native WordPress add_custom_image_header() function and I'm getting a little bit confused about a couple of things:

    1) I want people to be able to change just the background colour if they choose. The options screen that appears when you enable the above function only seems to give you the choice of a background image... is there a way to hook into this option screen and give my users a background colour option? Forcing people to upload an image with a flat colour just feels wrong as does a custom options screen just for a single colour field.

    2) If you check out my theme, you'll see the header is not fixed width, but fills 100% of the browser width, however I'm required to define HEADER_IMAGE_WIDTH and it seems to error if I specify 100%... what can I do about this? a fixed width just doesn't seem suitable (my current solution is just to specify an extreme 1200px which I'll probably make repeat with CSS).

    I would really appreciate any help and advice anyone can give me to get going in the right direction with this.

    Thanks!

    Andy

Reply

You must log in to post.

About this Topic

  • RSS feed for this topic
  • Started 6 months ago by hellweaver666
  • This topic is not resolved
  • WordPress version: 3.2.1