• Resolved hkolsen

    (@hkolsen)


    hi there, i am a web developer working on a blog for a client and after she posted a youtube.com video, everything went haywire. i was able to get everything back to normal, except i am unable to have the sidebar showing up well, on the side:

    http://www.ineedyouso.com/blog/

    any ideas? i can post code if that helps. any help is MUCH appreciated!

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m having the same trouble with my site. I don’t know if it happened after I posted the YouTube video that’s the latest post, but it was in the same time frame. I think it happened after I upgrded to 2.3.3 It displays right in Safari and IE but not in Firefox.

    I downloaded and reinstalled Firefox, but it made no difference. I cleared the cache, and that made no difference either. Deleted cookies, still no difference. So the problem seems to be with WordPress and Firefox interacting, rather than just Firefox.

    I tried it on a PC as well as another Mac, and no help.

    Help?

    Thanks,
    kyla

    Thread Starter hkolsen

    (@hkolsen)

    So I dug through some old posts and I think I figured out the solution:

    You have to make a table where all your main content sits in one column and the rest sits in another:

    Go to your Main Index Template and put your narrow column, navigation, etc (everything up to the sidebar.php) in one column, and then put the sidebar in the next column. You want to start the table after your header and end it before your footer. Does that make sense?

    Here’s my code markup if it helps:

    <?php get_header(); ?><table align=”center” cellspacing=”0″ cellpadding=”40″>
    <tr>
    <td><span id=”content” class=”narrowcolumn”><?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?><span class=”post” id=”post-<?php the_ID(); ?>”><br><h2>” rel=”bookmark” title=”<?php the_title(); ?>”><?php the_title(); ?></h2><small><?php the_time(‘j F Y’) ?></small>

    <div class=”entry”>
    <?php the_content(‘read the rest of this entry »’); ?>
    </div>

    <p class=”postmetadata”><div class=”category”>posted in <?php the_category(‘, ‘); ?> | <?php comments_popup_link(‘no comments’, ‘1 comment’, ‘% comments’); ?><br></p>
    </span>

    <?php endwhile; ?>

    <div class=”navigation”>
    <div class=”alignleft”><?php next_posts_link(‘« previous entries’) ?></div>
    <div class=”alignright”><?php previous_posts_link(‘next entries »’) ?></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 include (TEMPLATEPATH . “/searchform.php”); ?>

    <?php endif; ?>

    </span>
    </td>
    <td valign=”top”>
    <?php get_sidebar(); ?>
    </td>
    </tr>
    </table>
    <?php get_footer(); ?>

    Hope that helps!!!

    Does that make sense?

    Not really: this is the worst solution ever I have seen.
    The real solution is:
    1. learn CSS
    2. do not put anything (=image, code, etc.) in the content area that is wider than that div.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sidebar positioning trouble’ is closed to new replies.