Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

WordPress

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.