• Resolved rachweb

    (@rachweb)


    I’m rather new to this whole wordpress thing, but I was wondering if there was a way to change the picture on the homepage of the WP Nature template (its like a green leaf thing and I want to change it some of my own pictures)…I can’t seem to find the place in the code where I would add/change the photo…help? Thank you so much!

Viewing 9 replies - 1 through 9 (of 9 total)
  • There are thousands of WordPress themes – which means that many people won’t be familiar with your particular theme. So a link to your site where people can see the theme might result in more responses.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    If you’re talking about this theme, the image file of the “green leaf thing” is at:

    /wp-content/themes/nature/images/head.gif

    The easiest way to replace the image would be to create a new GIF image of the same dimensions (990 x 250 pixels) named head.gif and use an FTP or SFTP client to replace the file.

    But, since GIF is a terrible format choice for a quality image, more extensive “surgery” may be required.

    The file itself is being called from line 51 of the style.css file. Just create your own image in whatever format you want (try to keep the same dimensions), save it as however you want, and use your FTP or SFTP client to upload it to the /wp-content/themes/nature/images/ directory.

    Now, go to Appearance/Editor in your admin panel and open the Stylesheet. Edit this line as necessary:

    #home{background:transparent url(images/head.gif) no-repeat;width:990px;height:250px; margin:0 auto;list-style:none;}

    For example, change it to:

    #home{background:transparent url(images/newhead.jpg) no-repeat;width:990px;height:250px; margin:0 auto;list-style:none;}

    Thread Starter rachweb

    (@rachweb)

    /wp-content/themes/nature/images/

    sorry if this is a silly question…but where do i find the directory for something like this?…i’ve seen these types of references to “files” in a lot of places online but don’t know where to find them.

    I did find where the gif is on line 51, though. Thank you for that! 🙂

    its in your file structure, on your server

    you would use ftp software (filezilla) or a file manager if your host offers it, and click through the directory structure in the order listed

    Thread Starter rachweb

    (@rachweb)

    oh gosh. okay…where would i find the file structure on my server? 🙂

    it’s where your site is hosted…. who is your host?

    Each host will be slightly different. I’m on godaddy, I log in, go to hosting, go to my files, and I can see all my files

    Thread Starter rachweb

    (@rachweb)

    okay, i see. 🙂 i have bluehost

    Thread Starter rachweb

    (@rachweb)

    Awesome! Thank you everyone for your combined advice. I finally got my picture up there. Gracias!

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    You’re welcome!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘changing a template picture’ is closed to new replies.