ThemeShaper Forums » Thematic

Frontpage footer issue

(1 post)
  • Started 2 years ago by melissamcf
  • This topic is not resolved
  1. melissamcf
    Member

    I'm pretty new to Thematic and working with this kind of CSS/PHP, but so far I've managed to troubleshoot for myself. However, this problem is driving me crazy...I'm sure there's an easy solution but I can't see it myself. (For the record, I still have a lot to work on on this site I'm about to show! Please excuse the messiness.)

    I'm adding a background image to the footer, and on secondary pages like this one, it works fine: about

    However, the footer doesn't line up properly on the static frontpage: home

    It looks like it's caught up in the container/content divs, but as far as I can tell it's not any different from the secondary pages which work fine. This should not be so complicated! Any ideas??

    Here is some code from the frontpage.php file I added:

    <?php /*
    Template Name: Front Page
    */
    ?>
    <?php
    global $options;
    foreach ($options as $value) {
        if (get_option( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; }
        else { $$value['id'] = get_option( $value['id'] ); }
        }
    ?>
    <?php get_header() ?>
    
    	<div id="homecontainer">
    		<div id="homecontent">
    <?php the_post() ?>
    			<div id="post-<?php the_ID(); ?>" class="<?php thematic_post_class() ?>">
    
    				<div class="entry-content">
    <?php the_content() ?></div>
    			<?php thematic_navigation_above();?>
                <?php thematic_navigation_below();?>
                	</div><!-- #homecontent -->
    	</div><!-- #homecontainer -->
    			<?php get_footer() ?>

    And this is just the normal code from the Thematic page.php:

    <?php get_header() ?>
    
    	<div id="container">
    		<div id="content">
    
    <?php get_sidebar('page-top') ?>
    
    <?php the_post() ?>
    			<div id="post-<?php the_ID(); ?>" class="<?php thematic_post_class() ?>">
        			<?php thematic_postheader(); ?>
    				<div class="entry-content">
    <?php the_content() ?>
    
    <?php wp_link_pages("\t\t\t\t\t<div class='page-link'>".__('Pages: ', 'thematic'), "</div>\n", 'number'); ?>
    
    <?php edit_post_link(__('Edit', 'thematic'),'<span class="edit-link">','</span>') ?>
    
    				</div>
    			</div><!-- .post -->
    
    <?php if ( get_post_custom_values('comments') ) thematic_comments_template() // Add a key+value of "comments" to enable comments on this page ?>
    
    <?php get_sidebar('page-bottom') ?>
    
    		</div><!-- #content -->
    	</div><!-- #container -->
    
    <?php thematic_sidebar() ?>
    <?php get_footer() ?>

    Looks pretty much the same right?? Any help would be much appreciated, let me know what other code you'd like to see...like I said, I'm new at this.

    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in to post.