WordPress.org

Support

Support » Themes and Templates » Make foot go across entire page instead of c1

Make foot go across entire page instead of c1

  • I am trying to change the footer.php so that it will span the entire bottom of the page, but instead it is just showing up under column 1.
    Here is the php: `<div id=”footer”>
    <?php bloginfo(‘name’); ?> is powered by WordPress using theme Renegade<?php wp_footer(); ?>
    </div>

    </div>
    <div id=”c2″>

    <?php include(TEMPLATEPATH.”/sidebar.php”);?>

    </div>

    </div>

    </body>

    </html>`
    Thanks in advance.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Maybe:

    <div id="footer">
    
    /* write your code here */ 
    
    <?php bloginfo('name'); ?> is powered by WordPress using theme Renegade<?php wp_footer(); ?>
    
    </div>
    
    </body>
    
    </html>

    Oops! Here is the link to the site:
    http://eaglebungalows.com

    KZ- nope, still only under column 1 and it took away my sidebar content.

    your get_footer() maybe included in ‘c1’ div block.

    <div id="c1">
     :
     get_footer();
    </div><!--c1//-->

    Put get_footer() after ‘c1’ div block.

    <div id="c1">
     :
    </div><!--c1//-->
    get_footer();

    KZ_- Only c2 is referenced in the code, not c1. c2 is the sidebar and if I move it, it goes below c1.

    KZ_- Only c2 is referenced in the code, not c1. c2 is the sidebar and if I move it, it goes below c1.

    Your page structure is:

    body
      #wrap
        #c1
          #book
          #buttons
          #copy
          #footer
        #c2
          #sidebar

    #footer is included in #c1, so its width is 269px as same as #c1’s width.

    If you wanto to make footer go across entire page,
    change the page structure like:

    body
      #wrap
        #c1
          #book
          #buttons
          #copy
        #c2
          #sidebar
        #footer

    and add rule in style.css:
    #footer{clear:both;}

    KZ-This makes sense. SO I need to change order in the css or index? I am sorry I have not learned all the proper terms yet.

    Maybe, footer.php:

    <div id="footer">
    <?php bloginfo('name'); ?> is powered by WordPress using theme Renegade
    </div>
    <?php wp_footer(); ?>
    </body>
    </html>

    Make sure the closing tag </div><!--c1//--> for c1 block places before footer.php

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Make foot go across entire page instead of c1’ is closed to new replies.