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


changing the footer image in wordpress

l am currently building a site that has two main footers. one with a background of plain yellow and the other with a image background. So been a typical amateur,l created two footers. However realise that footer with the image tend to not show up all the time on pages. Any idea how l can resolve this? was thinking of writing a back of if statements for my templates. Any other ideas?

Jacobus Hindson
Jacobus Hindson
14,429 Points

It depends on the rest of your template and what you are doing for grids etc but I would create the footer, make it 2 columns/rows whichever orientation you would like with the use of <div> and class="" commands and then add a class for the footer-bg-img and use CSS to populated that with my img bg.