When adding an image to your widget area/sidebar, sometimes it needs to be centered in order for your page and the image to look right.

To make that happen you need to enclose your image or link in html code: <p align=”center”></p> or you can also use <table align=”center”><tr><td></td></tr></table>.

Your widget code would look something like this:

<p align=”center”><a href=”http://…” target=”_blank”><img src=”http://…”></a></p>

OR

<table align=”center”><tr><td><a href=”http://…” target=”_blank”><img src=”http://…”/></a></td></tr></table>

Need help with your website or don’t have time for updates, contact us at toni@websitesbytoni.com for all of your website service or maintenance needs.

RELATED POSTS:  Adding Links to Your Wordpress Post

Pin It on Pinterest

Share This