Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Post-Kicker, -Byline & -Footer »

[SOLVED] Footer 100% width

Old Aug 25, 2010, 12:46 AM
67 posts · Aug 2009
Is it possible for the footer to span the whole site?

I have looked in the forums and it seems that the only other solution that I have found is to make it a background image. But this solution will not work for what I am trying to achieve.

Thank you in advance for your response.
Old Aug 25, 2010, 10:39 AM
juggledad's Avatar
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Not without making some major changes to the code.
You have a window you view the site in

inside the window is the page body
which has a wrapper that can be less than the width of the page body
inside the wrapper is a container
and inside the container is the layout

the layout is a table with three rows
the header
the middle and
the footer

so if you want the footer to span the page width (or window width) and the you have margins, you will have to move the footer out of the table. The code is in footer.php - you may have to do this each time you upgrade the theme.
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Aug 25, 2010, 01:56 PM
67 posts · Aug 2009
When I move the footer out of the table in the footer.php file, where do I put it? Will it still be in the same file or a completely different one? I'm playing around with it now. We'll see what I can do

Thank you for your help.
Old Aug 25, 2010, 03:43 PM
67 posts · Aug 2009
I figured it out thanks to you JuggleDad!

This is the placement of code in the footer.php file:

<!-- / Footer -->

</table><!-- / layout -->
</div><!-- / container -->
</div><!-- / wrapper -->

<?php bfa_html_inserts($bfa_ata['html_inserts_body_bottom']); ?>

<div style="background:url(/wp-content/themes/atahualpa/images/footer2.png) repeat-x;border-top:solid 0px transparent;padding:100px 1524px 200px 805px;" >
    <?php echo bfa_footer($bfa_ata['footer_style_content']); ?>
    <?php if ($bfa_ata['footer_show_queries'] == "Yes - visible") { ?>
    <?php echo $wpdb->num_queries; ?><?php _e(' queries. ','atahualpa'); ?><?php timer_stop(1); ?><?php _e(' seconds.','atahualpa'); ?>
    <?php } ?>

    <?php if ($bfa_ata['footer_show_queries'] == "Yes - in source code") { ?>
    <?php echo $wpdb->num_queries; ?><?php _e(' queries. ','atahualpa'); ?><?php timer_stop(1); ?><?php _e(' seconds.','atahualpa'); ?>
    <?php } ?>

    <?php wp_footer(); ?>
Thank you for your help!!


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make the Header width fluid (100%), but keep everything else fixed (980px)? in10 Header configuration & styling 3 Aug 23, 2010 08:55 PM
[SOLVED] 3.5.2 Cat &amp; Menu Bar background displaying at 100% (Fixed width 900px) MickR New Versions, & Updating 2 Jul 20, 2010 07:59 AM
100% image width in single post pages kaspar.wimberley Center area post/pages 0 May 15, 2010 05:25 AM
[SOLVED] footer as width as possible catastrophy Post-Kicker, -Byline & -Footer 2 Mar 9, 2010 02:00 AM

All times are GMT -6. The time now is 05:58 AM.

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