WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Image Posts Escape Boundaries (5 posts)

  1. WebmistressM
    Member
    Posted 5 years ago #

    I have been having trouble with image heavy posts flowing out of the boundaries on the entry.

    http://www.felinemagic.net (towards the bottom)

    Not sure why it is doing that. Any ideas. I have had this problem whether I was using the theme Im working on or WP's default. What might be causing this?

  2. Chrisber
    Member
    Posted 5 years ago #

    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Ffelinemagic.net%2F

    You've got some open tags that might be causing your problem.

  3. WebmistressM
    Member
    Posted 5 years ago #

    Clicking your link, it seems to check out as validated. I did just remove some bad code so you can check again. Still not sure what the problem could be.

    Oh, and to put my images in, I am using the built in features that come with wordpress that allow insertion of images into the entry.

  4. WebmistressM
    Member
    Posted 5 years ago #

    Update: Its a sporadic occurance it seems when I have my site in the default theme. As for the other two templates, they load the pictures with them sticking out of the entry and overlaying atop things below without fail. One of the two is Epilepsy (downloaded from here) and the other is a modded version of that which Im making more personalized to this site's content.

    Is it more than likely a problem with index.php (the putting it all together page), footer.php (where the actual covered up footer content lies) or something in the css markup (style.css)?

  5. WebmistressM
    Member
    Posted 5 years ago #

    Copy of Index.php for the Epilepsy Theme

    <?php get_header(); ?>

    <div class="container">

    <div class="content">

    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <div class="post" id="post-<?php the_ID(); ?>">

    <h1>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></h1>

    <div class="descr"><?php the_time('F jS, Y') ?> by <?php the_author() ?> </div>

    <div class="entry">

    <?php the_content('Read the rest of this entry »'); ?>

    </div>

    <p class="info">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit','','|'); ?> <img src="<?php bloginfo('stylesheet_directory'); ?>/img/comments.gif" alt="" /> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>

    <div class="divider"></div>

    </div>

    <?php comments_template(); ?>

    <?php endwhile; ?>

    <p align="center"><?php next_posts_link('« Previous Entries') ?> <?php previous_posts_link('Next Entries »') ?></p>

    <?php else : ?>

    <h2 align="center">Not Found</h2>

    <p align="center">Sorry, but you are looking for something that isn't here.</p>

    <?php endif; ?>

    </div>

    <?php get_footer(); ?>

    </div>

    </body>

    </html>

    *********

Topic Closed

This topic has been closed to new replies.

About this Topic