Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   Centering Image (http://forum.bytesforall.com/showthread.php?t=2184)

akashiclibrarian Jun 25, 2009 04:45 PM

Centering Image
 
I've added a PayPal donation button to a widget text box. I've figured out how to center the widget title text. but I can't center the PayPal image. Also, how can I make the widget title text smaller?

Thanks!

juggledad Jun 25, 2009 08:37 PM

what widget?

akashiclibrarian Jun 26, 2009 09:13 AM

It's here:

www.akashiclibrarian.com

I used a text widget box and added the text: "Donations Gratefully Accepted" to the widget box title section. I copy and pasted the donation button code from PayPal's website. I can center the title text alright, but I can't figure out how to center the PayPal button image.

Thanks for any assistance!

juggledad Jun 26, 2009 09:35 AM

add this to the CSS inserts (ATO->HTML/CSS Inserts->CSS Inserts
HTML Code:

IMG.displayed {
    display: block;
    margin-left: auto;
    margin-right: auto }

and add the class to your image, i.e.
HTML Code:

<IMG class="displayed" src="..." alt="...">


All times are GMT -6. The time now is 09:45 AM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.