Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2014
    Location
    St. Louis, MO
    Posts
    25
    Plugin Contributions
    0

    Default Align footer to center.

    Hey there everyone!

    I'm running ZC 1.5.1. I've got backup zen cart v1.1, ceon manual card 4.0.1, ckeditor, css js loader, fast n easy checkout, email for 404 v1.2.2, fual slim box v2.1.0a, UPS v15, and the latest install of USPS. As for a template I'm using pure green free. Found here.

    What I would like to do is take the footer of my site and align it to the center. I'm not sure how to approach this and would like to get some input.

    Here is a link to the screenshot, I'd like to center the text at the bottom that I

  2. #2
    Join Date
    Jan 2014
    Location
    Ontario, Canada
    Posts
    252
    Plugin Contributions
    3

    Default Re: Align footer to center.

    It's a bit hard to see in the picture so I'm guessing it's this:

    #siteinfoLegal {
    text-align: center;
    }
    Found in your stylesheet.css

    Hope that helps,

  3. #3
    Join Date
    Mar 2014
    Location
    St. Louis, MO
    Posts
    25
    Plugin Contributions
    0

    Default Re: Align footer to center.

    Quote Originally Posted by Trinity14 View Post
    It's a bit hard to see in the picture so I'm guessing it's this:

    #siteinfoLegal {
    text-align: center;
    }
    Found in your stylesheet.css

    Hope that helps,
    Thanks for the response! I went into the stylesheet.css for the template i'm currently using and changed-

    PHP Code:
    .smallText#siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP {
        
    font-size0.9em;
        
    float:left;
        }
    #siteinfoIP {
        
    floatleft;

    to

    PHP Code:
    .smallText#siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP {
        
    font-size0.9em;
        
    float:center;
        }
    #siteinfoIP {
        
    floatcenter;

    My only problem now is that where it would normally have
    Copyright © 2014 Cheryl's Herbs. Powered by Zen Cart
    Zen Cart Themes by 12leaves.com
    Your IP Address is: xxx.xxx.xx.xx
    all aligned to the left, it now has the first and third line are centered but the second remains to the left. Any ideas? Once again, thanks.

  4. #4
    Join Date
    Mar 2014
    Location
    St. Louis, MO
    Posts
    25
    Plugin Contributions
    0

    Default Re: Align footer to center.

    Thanks for the help! I also needed to edit
    PHP Code:
    .legalCopyright {
        
    floatleft;
        
    font11px verdana !important;

    so that the middle line of text would align to the center as well. Thanks trin!

  5. #5
    Join Date
    Jan 2014
    Location
    Ontario, Canada
    Posts
    252
    Plugin Contributions
    3

    Default Re: Align footer to center.

    Glad to guide you in the right direction ;)

 

 

Similar Threads

  1. Align Link in Footer
    By nicksab in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 8 Jan 2012, 03:59 AM
  2. Align-center product description
    By WendyT in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Oct 2010, 05:49 AM
  3. vertical center align
    By pokemon3d in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 12 Jul 2009, 09:32 PM
  4. Align center EZpages Footer
    By chano_lomb in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Jul 2008, 09:30 PM
  5. How to align text center?
    By HandcraftedUK in forum General Questions
    Replies: 7
    Last Post: 16 Apr 2007, 09:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg