Support » Themes and Templates » Centering a image in the footer

  • Resolved guitarevan



    I have been searching for another post to help me but I have not found one talking about images.

    I put a image from Paypal in my footer but it automatically goes to the left side. The text below it is centered so it looks kind of strange.

    Is there anyway I can center this image? I am a newbie so this is kinda above me at the moment.

    This site is

    Thanks in advance for any help that you can give me!

Viewing 5 replies - 1 through 5 (of 5 total)
  • esmi


    Forum Moderator

    Try adding the following to the bottom of style.css:

    #footer table img {margin:0 auto}

    You’d really be a lot better off without all of that table markup just for one image, though.

    Thanks! I inserted the line of code in my style.css and removed all the extra html markup.
    Unfortunately, now neither my image nor my text is centered.


    Try this in style.css

    #footer {
        text-align:center !important;

    The center will send all of the content to the middle of whichever width the footer is, so you may need to make the width of the footer 800px or whichever size you need.

    I’ve made it !important in case the PayPal script (if it’s scripted) tries to send it to the left.

    Find the following in style.css:

    /* Body */
    * {margin:0; padding:0;}

    and change it to this:

    /* Body */
    * {padding:0;}

    Thanks figaro! That did it!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Centering a image in the footer’ is closed to new replies.