Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2011
    Posts
    339
    Plugin Contributions
    0

    Default Can't Center Footer?? Please Help!

    Somehow the footer lines got shoved over to the far right on the shopping cart I'm working on: http://borumapublishing.com/llcraftp...rary/index.php (Apologies in advance that it's an adult site.) Not sure how they got shifted, when the only thing I've been working on tonight was uninstalling and reinstalling the COWOA. Anyway, I'd like to center them again.

    As odd as it sounds, the Scuro template doesn't seem to have a stylesheet_footer_menu.css file. I did find these lines in the stylesheet.css file:

    #siteinfoLegal {margin:0 auto; padding: .5em 0 0; font-size: 0.9em; text-align:center; width:100%; line-height:normal; clear:both;}
    #siteinfoLegal a {padding: 0 0.5em 0 0.5em;color: #fff;font-weight:bold;white-space: nowrap; }

    But that says it's already centered. I did try changing text-align:center to text-align:left, but nothing changed, so I changed it back.

    Can anyone please help? Thanks very much!!

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Can't Center Footer?? Please Help!

    Wow have not seen a template using tables for quite some time
    it appears that you have an empty table at the left of your information
    Try deleting it - you will have to use the developers tool kit to locate the file it is in
    Code:
    <div id="footer-placement">
    <div id="footer">
    <table width="100%">
      <tr>
        <td  style="width: 235px">
        </td>
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2011
    Posts
    339
    Plugin Contributions
    0

    Default Re: Can't Center Footer?? Please Help!

    Kobra:

    The only file I was able to find that had <div id="footer-placement"> in it was the tpl_main_page.php page in the includes/templates/scuro/common folder. The code that follows it is:

    <div id="footer-placement">
    <?php
    /**
    * prepares and displays footer output
    *
    */
    if (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_FOOTER_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == '')) {
    $flag_disable_footer = true;
    }
    require($template->get_template_dir('tpl_footer.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer.php');
    ?>
    </div>

    I really don't think that's what I need, but I don't know where else to look.

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Can't Center Footer?? Please Help!

    One way to fix it would be to add some margin-right to #footer in the stylesheet.

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Can't Center Footer?? Please Help!

    Where your info is contained is in
    Code:
    div id=navSuppWrapper
    Which is default ZenCart code

    footer-placement is not contained in out of the box ZenCart code

    You might compare a stock tpl_main_page.php file to your templates
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,928
    Plugin Contributions
    96

    Default Re: Can't Center Footer?? Please Help!

    Edit /includes/templates/scuro/css/stylesheet.css. Around line 837, find:
    Code:
    #footer {
        clear: both;
        float: right;
        font-family: verdana,arial,helvetica,sans-serif;
    }
    Change to (removing the float):
    Code:
    #footer {
        clear: both;
        font-family: verdana,arial,helvetica,sans-serif;
    }

  7. #7
    Join Date
    Jan 2011
    Posts
    339
    Plugin Contributions
    0

    Default Re: Can't Center Footer?? Please Help!

    I went with lat9's solution because it gave me a specific place to look. That worked PERFECTLY...thank you so much, everyone, for your help!!!

 

 

Similar Threads

  1. Can't center login page-please help
    By Decostyle in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 12 May 2008, 05:32 PM
  2. can someone help please -- Problems with PDF Order Center
    By londoner1988 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 4 Mar 2008, 03:45 AM
  3. Somthing wrong in footer! Please help!!!
    By ansonwu in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 31 Jul 2007, 05:52 PM
  4. Admin Footer!! Help Please.
    By skilaq in forum General Questions
    Replies: 6
    Last Post: 4 Jun 2007, 06:06 PM
  5. Logo off center Please help....
    By port city amps in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Jan 2007, 04:30 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