• I want to upload a image in header.i would want to do it by changing the php code ..Although i have never studied php but as i know css so i will do its editing and everything through it .Just in case if someone is confusing this header image with a logo then that’s not what i am talking about .Uploading logo is easy but other than that i want a image …pls help..

    thanks in advance.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hey there,

    You mentioned you know CSS, why not just do it through that then?

    Something like this:

    #header .container{
    background-image: url(URL-TO-IMAGE);
    background-repeat: no-repeat;
    }

    Or you could do something like this:

    .site-description:after {
    content:url(URL-TO-IMAGE); margin-left:30px
    }

    That places an image after the description for example.

    In both cases replace URL-TO-IMAGE with your full image url.

    If for some reason you still want to edit the PHP then look in header.php for where you want to place it.

    Hope this helps 🙂

    Thea

    (@dorothy1508)

    If you go to the developer’s site, you can download an upgraded version of Hueman which includes the ability to upload a header image.

    It’s free.

    Thread Starter rish1195

    (@rish1195)

    Thanks Timothy ,the site-description method worked.
    But now i want a different header image ,following the same method i just change the url of the image ,tried it many times but the header image doesn’t change ..is it because the image which i am trying to upload is of a .png extension ??..

    It seems Thea was mentioning the new version of the theme could do this for you without the need for CSS.

    If you still wish to use CSS then .png will work fine, did you update the original CSS or try to add some new?

    If it’s new CSS then it needs to be called later, you see the last instance of CSS takes priority when loaded. As it was custom CSS you added you could just edit the original.

    If you can link me to where you’re using this then I can also see what’s occurring.

    Take care.

    Hi,
    I have the same problem. I want to add an image to the header.
    @thea Member: I’m running the latest version. It still has no option for a header image. 🙁

    @timothy Bowers: I also tried the code. It puts the image there, but unfortunately also on the navigation bars. I don’t want my nav bars to be covered with the header image (poor legibility of text). I want the navgation bars to stay a solid color.
    Can anybody help?

    Hey there,

    As you didn’t provide a link for me to see what’s happening, or a link for the image you use so I’m not sure what issue it’s causing you. Maybe the image you’re using is too large, I can’t say without seeing your site.

    As per the forum guidelines you should also open a new thread:

    http://codex.ww.wp.xz.cn/Forum_Welcome#Where_To_Post

    I don’t mind popping over there and taking a look when you’re done. 🙂

    Take care.

    Hi Timothy,
    sorry, I wasn’t aware… I posted it here
    http://ww.wp.xz.cn/support/topic/hueman-theme-add-header-image?replies=1

    thanks!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘header image’ is closed to new replies.