In your CUSTOM template, you should have a copy of tpl_main_page.php in the "common" folder.
If you don't have a custom file, then put a COPY of the core file of that name, in your custom template's "common" folder.
The CORE behaviour is to include the FOOTER area in the main content area... see below for WHERE the final <div> appears (from about line 154 / 155):
PHP Code:
</table>
<?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>
If you now close the main content DIV after the </table> tag, then create a NEW DIV just for the footer, you should be able to style it differently...
PHP Code:
</table>
</div>
<div class="myCustomFooter">
<?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 haven't tried this, so it might not work... but it seems to make sense, so give it a go...
As always... BACKUP original files first.
Bookmarks