Support » Themes and Templates » [Resolved] Image in footer?
2 years, 8 months ago
is there any way to add an image in the footer? am using a child theme, but all the suggested ways to put an image in the footer do not work.
working on a local install with a MAMP. so cannot post a link.
I want a background image across the whole page…. can be BELOW the footer.
and cannot figure out how to hide what is in the footer and put my own text there either.
You should be able to add something like this just before the closing footer tag for it to be part of the footer, or just after the tag to make it separate. </footer>
<div id="footer-image"><img src="LINK TO IMAGE" /></div>
You can then use css to position & style.
For adding your own site info comment out this section of the site-generator div in the footer.php like so:
/*<?php do_action( 'twentyeleven_credits' ); ?>
<a>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' ); ?></a>*/
Then use standard html to add your info in the site-generator div.
Thank you so much, batharoy. your advice works perfectly.
tho I had to experiment a little to figure out the perfect positions for the code.
happy, happy, happy.