Viewing 14 replies - 1 through 14 (of 14 total)
  • mrsankey, you have too many </div> tags.

    find this:
    </div></div></div>
    <p id="footer">
    [content...]
    </p>

    and replace it with:
    </div>
    <p id="footer">
    [content...]
    </p>

    good to go. Also, to you have the wrong doctype for the page. Fix that and you have a validat-able page. G/L

    rob

    Thread Starter mrsankey

    (@mrsankey)

    ok thanks, I just don’t know what file to edit that bit of code in…

    Thread Starter mrsankey

    (@mrsankey)

    ok thanks, I just don’t know what file to edit that bit of code in…

    Unfortunately without being able to see the theme files, neither do I. Go into the theme directory, or your photo page files, and look in the index.php files or template files if there are any. Since it’s not on all pages, it is likely not in the footer file.

    Thread Starter mrsankey

    (@mrsankey)

    I looked through all the files in presentation -> theme editor and I couldn’t find it anywhere in those files. So is there some other files somewhere that I should be able to access that just aren’t showing up in the theme editor?

    Hi!

    The wrong code:

    </div>
    <!-- End of Falbum -->
    </div></div></div>
    <p id="footer">
    <strong>Andrew Sankey</strong> &copy; 2007 | <a href="http://wpthemes.info/fast-track/" title="WP Themes.Info">FastTrack</a> made free by <a href="http://www.webhostingbluebook.com/">Web Hosting Bluebook</a>
    </p>
    </div>
    </body>
    </html>

    and here the right code:

    </div><!-- End of Falbum -->
    </div><!-- End of Content -->
    <p id="footer">
    <strong>Andrew Sankey</strong> &copy; 2007 | <a href="http://wpthemes.info/fast-track/" title="WP Themes.Info">FastTrack</a> made free by <a href="http://www.webhostingbluebook.com/">Web Hosting Bluebook</a>
    </p>
    </div><!-- End of Rap -->
    </body>
    </html>

    The code can be in your footer.php or in all of your theme-files below the div falbum-navigationBar.

    Hope this helps.

    Thread Starter mrsankey

    (@mrsankey)

    I cannot seem to find that code ANYWHERE. I don’t know if its just me, but it is not in footer.php or any of the other theme files in my theme editor…this shouldn’t be that hard…

    Can you see it in your browser?
    Maybe the code is separated? One piece on the footer.php and the other piece on other files? Post the code of your footer.php.

    Thread Starter mrsankey

    (@mrsankey)

    this is the code for my footer.
    <p id="footer">
    <?php //Please keep the link to the theme site and the sponsor. thats how this theme is made free. ?>
    <strong><?php bloginfo('name'); ?></strong> &copy; <?php echo date('Y');?> | <a href="http://wpthemes.info/fast-track/" title="WP Themes.Info">FastTrack</a> made free by <a href="http://www.webhostingbluebook.com/">Web Hosting Bluebook</a>
    </p>
    </div>
    <?php wp_footer();?>
    </body>
    </html>

    that looks like the last part of the problem code that you posted, but the </div> </div> </div> isn’t there.

    Ok, footer.php looks fine. Now look at the end of your index.php. Can you see <!-- End of Falbum --> anywhere?

    Thread Starter mrsankey

    (@mrsankey)

    I don’t see anything to do with Falbum anywhere in index.php. In fact, here is the actual code.

    <?php get_header(); ?>
    <div id="content">
    <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
    <div class="post">
    <div class="post-title"><em><?php the_category(' and ');?></em> <?php the_author();?> on <?php the_time('d M Y h:i a'); ?></div>
    <p class="post-info"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a> <?php edit_post_link('(edit this)'); ?></p>
    <div class="post-content">
    <?php the_content('Continue Reading »'); ?>
    <?php wp_link_pages(); ?>
    <!--
    <?php trackback_rdf(); ?>
    -->
    </div>
    <p class="post-footer"><?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »','','<span>Comments Off</span>'); ?></p>
    <?php comments_template(); // Get wp-comments.php template ?>
    </div>
    <?php endforeach; else: ?>
    <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
    <?php endif; ?>
    <p align="center"><?php posts_nav_link() ?></p>
    </div>
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    I also looked through my other theme files and there is nothing in any of those files either.

    Maybe it’s plugin that’s adding code. Is the Falbum thing a plugin?

    Thread Starter mrsankey

    (@mrsankey)

    Yes, Falbum is a plugin for my flickr photos. Could the plugin be adding those extra </div> tags? Because its nowhere in my theme files.

    Plugins certainly can add code to a page, so I’d suggest looking in the plugin files for any of the code around <!-- End of Falbum --> to see if there’s maybe a stray </div.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Content background missing’ is closed to new replies.