Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Centering Image


  #1  
Old Jun 25, 2009, 03:45 PM
akashiclibrarian
 
2 posts · Jun 2009
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!
  #2  
Old Jun 25, 2009, 07:37 PM
juggledad's Avatar
juggledad
 
23,626 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what widget?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jun 26, 2009, 08:13 AM
akashiclibrarian
 
2 posts · Jun 2009
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!
  #4  
Old Jun 26, 2009, 08:35 AM
juggledad's Avatar
juggledad
 
23,626 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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="...">
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
centering tables cyberstar Atahualpa 3 Wordpress theme 5 Nov 30, 2009 05:54 AM
Centering Title and tagline PhillM Header configuration & styling 1 Jun 14, 2009 03:39 PM
centering the horizontal bars interage Header configuration & styling 2 Apr 25, 2009 08:45 AM
Centering BOTH Page and Category menu bars paulae Page & Category Menu Bars 1 Mar 21, 2009 09:09 AM
Centering Page Navigation cks Page & Category Menu Bars 1 Feb 6, 2009 03:23 PM


All times are GMT -6. The time now is 12:29 PM.


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