Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Help with adding a background image

I think I have a file problem. Within task 3 where we are suppose to

Add the background texture.png from inside the img folder and set the background to repeat." I can't get the texture file to work. I need all the image files for the website as I haven't been able to display any yet. I think I am not saving them correctly.

How do I need to organize them on my computer to make the relative paths right? Also, the background texture.png is different when I go to the website and click the image, it is then a jpg instead of a png.

2 Answers

Guil Hernandez
Guil Hernandez
Treehouse Teacher

Hi Jason Causey,

Can you please post an example of the code you're using? Thanks!

For the task, its

    font-family: 'Nunito', sans-serif;
        color: #FAF3BC;
        background: #420600 url('img/bg-texture.jpg') repeat;

Well, nevermind. I got past the task.

Guil Hernandez
Guil Hernandez
Treehouse Teacher

Jason Causey,

Glad to hear that you were able to solve it. Nice work!