• Hi
    I’m desperately trying to get my own jpg. image into my banner. I’ve just set up the default WP template and have been going through the info on the site and trying to decipher the code (I have very basic html skills).

    On the Designing Headers page, I get this

    “To change the image file, replace the “kubrickheader.jpg” with the name of the new graphic image you have uploaded to your site to replace it. If it is in a different directory, change that by replacing the bloginfo() tag with the specific address of the graphic’s location.”

    … however when I look at the template (under Themes – Theme Editor) I cannot find anything with “kubrickheader.jpg”. I see “kubrickbg” and “kubrickbgwide” but that’s all.

    I’m also confused by “If it is in a different directory, change that by replacing the bloginfo() tag with the specific address of the graphic’s location”. I’m in the process of learning about web publishing, and have set this up as a testsite. My image is in my normal public_html folder. What exact info is needed in the header template to call up the image? Do I need to move it to the ‘testsite’ folder on my server?

    I’d really appreciate any help anyone can offer. Thanks so much!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter alda

    (@alda)

    OK, I managed to get into the file wp-content/themes/default/header on my site and opened an editing tool there. Now my entire site has changed – the image I want is there in the banner but everything else is completely funky, no columns, basic fonts, nothing else on the banner, etc. I have no idea what I’ve done. Can someone please help??

    https://testsite.aldasigmunds.com/

    Reupload the default theme to roll back changes. Pick another theme – the default one is a beast to mod.

    Thread Starter alda

    (@alda)

    OK I’ve reinstalled the whole thing and am now back to the default. Is there a particular theme that is easier to modify?

    Ok, there are three quick solutions if you choose to stay with Kubrick as your theme.

    1. In the default theme the link to the header image kubrickheader.jpg is the the Header file if your using the theme editor. You can just change the link to the image you would like. (be sure to pay attention tho the dimension constraints)

    2. Kubrick also allows you to drop a file called ‘personalheader.jpg’ in the ‘images’ folder and it will use this image instead. More info on that is in the same Header file.

    3.Make your own image called kubrickheader.jpg and override the existing one.

    Hope this helps.

    Thread Starter alda

    (@alda)

    Hi Anthony and thank you for responding.

    When I check out the code in the Theme Editor, it looks like this:

    #page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbg.jpg”) repeat-y top; border: none; }

    Is this the one you mean? I changed it to this:

    #page { background: url(“https://usera.imagecave.com/aldakalda/web/secretary2-copy.jpg&#8221;) repeat-y top; border: none; }

    … but nothing happened. I’m not sure if I’m doing it as per your instructions. I can’t find anything called kubrickheader.jpg.

    Also, I find it strange that there is nowhere to save template changes. I noticed when I navigated away, and then back, that it was back to the original code. Any idea why that is?

    Again – grateful for any tips. Thanks.

    Go to the images/ directory under the theme that you are using, and you should find the image in question.

    For instance, if you are using the default theme, you should find the images directory under the WP directory at wp-content/themes/default/images.

    When you find the file you are looking for, rename the file on the server to something else (kubrickbg-backup.jpg) and rename your file to kubrickbg.jpg, and upload your file to that directory.

    Also, try ensuring that the images have similar proportions. If an existing background image is 100px and if you use a 1000px image, it would look weird for obvious reasons.

    Goodluck.

    Thread Starter alda

    (@alda)

    Thanks Metlin. Very good instructions and easy (for even me) to follow. However, I’m completely stumped because I cannot seem to upload the file to the correct location.

    1. I find the file I want to copy and click on it
    2. It asks me to specify the location to where I want to move it
    3. I click through all the folders, until I am in the Images folder
    4. I get stuck there.

    I don’t see any command that is the equivalent of ‘deposit this file here’. So I’m in the folder, I’ve got the list of commands above the trash can, but none of them seems to allow me to deposit the file in that particular folder. In fact, I can’t even seem to navigate away from the folder. When I start anew in the control panel and click through from the public_html to the Images folder, the file isn’t there. Argh!!

    What am I doing wrong???

    https://usera.imagecave.com/aldakalda/web/secretary2-copy.jpg

    there is your problem.

    You’re uploading the image to the wrong directory. You’ve put the image in your root, when it *should* be located in your wwp-content/themes/YOUR THEME NAME/images directory. It’s totally not there at all.

    You either need to change the URL to point to the proper location of the file, or you need to upload the file to the right place.

    [edit] I see now that you’re having a problem doing that. What are you using to upload files? Sounds like you’re using your host’s control panel. It’ be a lot faster (and easier on you) if you just used an FTP program. Then you could log in and surf through all the directories a lot easier.

    Thread Starter alda

    (@alda)

    Hi

    Thanks for the FTP tip. I’ve done what you suggested, uploaded the file into (what I assume to be) the correct directory, renamed the file kubrickheader.jpg – and nothing happens.

    I don’t know what I’m doing wrong and actually I’m at the point of giving up. Word Press and I are clearly not compatible.

    Thanks everyone for your help nonetheless.

    Modifying the default theme and being new to WP – that’s a not compatible combo.
    You were warned at the beginning of this thread…

    uploaded the file into (what I assume to be) the correct directory

    That’s your problem right there. You are *NOT* uploading it into the correct directory. You’re uploading it onto your root.

    Look. You’re uploading the image here when you *need* it to be here.

    Look at the URL’s – do you see the difference? You’re totally putting it in the wrong directory. That’s why it’s not showing up.

    You need to either upload it to the correct directory, or go into your header.php file and put in the correct path to the image.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Can someone please help with banner/image’ is closed to new replies.