WordPress.org

Ready to get started?Download WordPress

Forums

custom image header, wp default (7 posts)

  1. tronicscribe
    Member
    Posted 6 years ago #

    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!

  2. tronicscribe
    Member
    Posted 6 years ago #

    bump?

  3. tronicscribe
    Member
    Posted 6 years ago #

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

  4. wxwx
    Member
    Posted 6 years ago #

    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;
    }

  5. tronicscribe
    Member
    Posted 6 years ago #

    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"

  6. tronicscribe
    Member
    Posted 6 years ago #

    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. :D

  7. esquirepm
    Member
    Posted 5 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic