WordPress.org

Ready to get started?Download WordPress

Forums

My header is screwing up my index but not other pages (9 posts)

  1. Pnitruc
    Member
    Posted 6 years ago #

    My website is moviestinger.com and as of right now I've left the broken version up for example.

    If you look at the home page there's something I believe wrong with the divs. The actual code thats messing things up is the header for the post title and date/author. Something is sliding it over and pushing the sidebar text to the bottom of the page under the content. If you look at other pages it displays perfect with no problems. I've tried just putting the code from my page/post in to the index but the problem doesn't go away. Why is this happening?? Please help

  2. whistler2020
    Member
    Posted 6 years ago #

    probably your in theaters flash...pokes out a little more on the right

  3. moshu
    Member
    Posted 6 years ago #

    Post author and post title are displayed on single post view, too, and it is working.
    Q: What is on your main/home page that is NOT on your single post? - A: that flash gizmo.

    Options.
    Remove that this week in theaters stuff. Does it work?
    Validate the site/page: the index has 102 errors.

  4. Pnitruc
    Member
    Posted 6 years ago #

    removed both the animations and intheaters/latestnews jpg files. it still has the problem even when it displays just the post.

  5. Pnitruc
    Member
    Posted 6 years ago #

    the date and author is also displayed in a different color then it's supposed to be and displayed on firefox

  6. jonathas_scott
    Member
    Posted 6 years ago #

    Any "code" we can check on ?

  7. Pnitruc
    Member
    Posted 6 years ago #

    the code that doesn't work on the index is:

    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <div class="post" id="post-<?php the_ID(); ?>">

    <div style="background-color:#6495AB;width:450px;">
    <h4>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></h4>

    <small><h7><?php the_time('F jS, Y') ?> by <?php the_author() ?></h7></small>
    </div>

    the code that does work on the post page is:

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

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

    <div style="background-color:#6495AB;width:450px;">
    <h4>" rel="bookmark" title="Permanent Link: <?php the_title_attribute(); ?>"><?php the_title(); ?></h4>

    <small><h7><?php the_time('F jS, Y') ?> by <?php the_author() ?> </small>
    </h7></div>

  8. Pnitruc
    Member
    Posted 6 years ago #

    anybody? =/

  9. Pnitruc
    Member
    Posted 6 years ago #

    could it be because of my divs?

Topic Closed

This topic has been closed to new replies.

About this Topic