I would like a quick css code to adjust my footer to include an image. Currently the image is too close to the top border in the footer and I would like it centered between the top and bottom evenly – the image is 84×45 pixels. I simply just included an image link that reads like this: _.com/wp-content/uploads/2012/01/AM___.png” /> [i removed the image name and file location for privacy reasons]
Please advise
Thank you.
Add Footer Logo Next to Copyright - Aligning to close to top of footer border
4 posts from 4 voices-
Posted 1 year ago #
-
Hey,
I added this to the custom.css
.container img.footerimg{float:left; margin-top:5px;} .copyright{float:left; margin:5px 0 0 5px;}And I added the following image right below the opening of the container class in footer.php - like so:
<div class='container'> <img class="footerimg" src="http://dummyimage.com/84x45/000/fff" />Of course you can play around with the margin values you've just put in your custom.css.
Let me know if it works.Posted 1 year ago # -
Well it worked for me! :)
Posted 1 year ago # -
Glad that Chris could help you :)
Posted 1 year ago #
Reply
You must log in to post.














