WordPress.org

Support

Support » Themes and Templates » custom image header, wp default

custom image header, wp default

  • I’m using a blank theme to customize, but I notice it uses a wp option in the design tab where the theme editor is, and it is called “custom image header” it lets you choose and upload a header image. however, I do not want to use that because my image is larger than the min size, and I just want to set the header image with my css. so I put my image in with my header div in the css, but it looks like the wp custom image header overrides my css, and it doesn’t show up. I deleted the blank theme’s header.jpg which was being used, but now it is just empty white space that still overrides my css background image. how can I disable the custom image header in wp? is it called with php? if so, I wasn’t able to located the php that calls the image in my template files. thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • bump?

    anyone know if it is called with php, of if it is a setting in wp?

    open style.css and play around these lines

    #header {
    background: #73a0c5 url(‘images/kubrickheader.jpg’) no-repeat bottom center;
    }

    #headerimg {
    margin: 7px 9px 0;
    height: 192px;
    width: 740px;
    }

    well I am using a background url in my header div, but like I said above, for some reason the default wp custom image header over writes this. I notice that only some themes use the custom image header, so that must mean it is called in the template with php. I think… I just can’t find out where. so, I know playing with the header divs will give me a header image, but not while this wp custom image thing is active.

    switch to the default theme to see what I am talking about. however I just noticed with kubriks the tab is called “header image and color,” but on the blank theme I am using

    http://www.refueled.net/blank-wordpress-themes/

    it is called “custom image header”

    NVM! I figured it out. in the functions.php file it had the php that called the custom header image. I just removed it, and now it uses the url in my css!! yay. thanks anyway all. 😀

    you can also adjust the size of the minimum image for the custom image cropper in the functions.php file.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘custom image header, wp default’ is closed to new replies.