ThemeShaper Forums » Thematic

Footer not displaying

(5 posts)
  • Started 1 year ago by crzy4prple
  • Latest reply from crzy4prple
  • This topic is resolved

Tags:

  1. crzy4prple
    Member

    I'm working on this site http://ohsnapboutique.com/blog/. I converted the Tofourious Theme to a child theme, since my client would like several widget areas and Tofourious does not have them.

    Here is my code for the index page. For some reason it isn't reading the footer.

    <?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="container">
    		<div id="content">
    
    			<?php thematic_navigation_above();?>
    
    <?php get_sidebar('index-top') ?>
    
    <?php thematic_above_indexloop() ?>
    
    		<?php if (have_posts()) : ?>
    
    		<?php while (have_posts()) : the_post(); ?>
    
    				<div class="title">
    			<center><img src="/images/post-sep.png"></center>
    
    					<h2><a>"><?php the_title(); ?></a> | <?php the_time('F j, Y') ?></h2>
    
    					<span></span>
    
    				</div>
    
    				<!-- entry start -->
    
    				<div class="entry">
    
                    	<?php the_content(''); ?>
    
    				</div>
    
                    <!-- entry end -->
    
                    <p class="postmetadata center">
    
    					<?php the_tags('Tags: ', ', ', ''); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  
    
    					<?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
    
    				</p>
    
    			<?php endwhile; ?>
    
    				<div class="navigation">
    
                        <div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
    
                        <div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
    
    				</div>                
    
    		<?php else : ?>
    
    		<h2 class="center">Not Found</h2>
    
    		<p class="center">Sorry, but you are looking for something that isn't here.</p>
    
    		<?php get_search_form(); ?>
    
    	<?php endif; ?>		
    
    <?php thematic_below_indexloop() ?>
    
    <?php get_sidebar('index-bottom') ?>
    
    			<?php thematic_navigation_below();?>
    
    		</div><!-- #content -->
    	</div><!-- #container -->
    
    <?php thematic_sidebar() ?>
    <?php get_footer() ?>

    TIA

    Posted 1 year ago #
  2. The code is showing up in your html, so it looks like it's a css issue. What happens if you remove the height declaration on footer?

    #footer{
    	background-color: #fff;
    	background-position: center;
    	height: 27px;
    }
    Posted 1 year ago #
  3. crzy4prple
    Member

    that did not fix it :( I also tried a the z-index it didn't work either. So strange. This is the first site I've had this problem.

    Posted 1 year ago #
  4. The footer appeared when I used Firebug and added this css line to the very end of your stylesheet:

    #footer {height:auto !important;}

    Perhaps you just didn't get the line changed properly or do a browser refresh.

    You also have some validation errors that may be causing some issues. For instance, the div id "main" is there twice. IDs should only be once per document.

    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fohsnapboutique.com%2Fblog%2F

    Posted 1 year ago #
  5. crzy4prple
    Member

    Thanks that fixed it :)

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.