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

WordPress

Mark Krediet
PLUS
Mark Krediet
Courses Plus Student 885 Points

How do I make the footer in a Wordpress Theme a textured image?

I want to change the color of the footer and replace the whole footer with a textured image.

3 Answers

Joseph Alejandro
Joseph Alejandro
1,428 Points

It might depend on the theme but you should be able to do it using CSS on the Style.css file in the editor.

As Joseph points out - you want to modify the Style.css file and look for the overall container DIV for the footer, typically a class called .footer

You can add a background-image property to assign the image like this:

.footer {
background-image: url(backgroundImage.jpg);
}

This assumes that the backgroundImage.jpg is in the same directory as your Style.css file, you can adjust the path as necessary depending on your setup, for example if the images are stored in an images directory in the main theme directory, then you would change it to background-image: url(/images/backgroundImage.jpg); instead.

Mark Krediet
PLUS
Mark Krediet
Courses Plus Student 885 Points

Thanks you guys. I actually figured it out, shortly after I posted the question. Sometimes the answer comes to you if you walk away from the project for a while. As in this case it did. Thanks Again.