WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] CSS or pages.php Problem? (3 posts)

  1. kingsmithstudio
    Member
    Posted 3 years ago #

    I am rather new to custom coding and have a problem with the main content area of my site (building it locally). Everything seems placed where it should be on my home.php (static), but there is a large gap between the header and the actual content when the site access the page.php.

    Any help for eliminating the gap between the header and the pages content would be very appreciated.

    My style.css is at http://wordpress.pastebin.ca/2078342.

    The code for home.php and page.php is at http://wordpress.pastebin.ca/2078345.

  2. Xam 1.0
    Member
    Posted 3 years ago #

    Move this line:

    <?php get_sidebar(); ?>

    to the appropriate place in page.php

    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>
  3. kingsmithstudio
    Member
    Posted 3 years ago #

    HUge thanks! That did it.

Topic Closed

This topic has been closed to new replies.

About this Topic