• Resolved eastbayjosh

    (@eastbayjosh)


    I have a problem on my post pages. The sidebar content shows up in the wrong place on the page. A good example is this post page.

    This problem began as the result of a prior request for help. I was looking for a solution to removing the post date/time/etc… on the post pages of my site.

    I received help, choose the “right way”, but it caused the problem you see now. I put the code back in, but it didn’t fix it. I made no other changes so I’m completely lost as to how this happened or how to fix it.

    Pleeeeeeeease help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • For starters, you have css:

    .right{
    	width:250px;
    	float:left; /* this probably should be right, not left */
    }

    Your sidebar may need to be repositioned, however, because with float right applied, it still does not go all the way to the right. It may be contained in the wrong div?

    Just compare the code to the pages where it works fine. Take note of te order of the divs exactly.

    back to single.php, restore what got disturbed with your other trial to remove things:

    <div class="side-box-holder">
                        	<div class="dateholder">
                        	<div class="date"><?php the_time('j') ?> </div>
                            <div class="monthyear">
    							<div><?php the_time('F') ?> </div>
                                <div><?php the_time('Y') ?></div>
    
                            </div>
                            <div class="clear"></div><!-- <<< put this back in ->
                            </div><!-- <<< put this back in -->
    
                            <div class="editor">

    before the line with <div class="editor"> add the code that got lost:

    <div class="clear"></div>
                            </div>

    as already indicated above.

    Thread Starter eastbayjosh

    (@eastbayjosh)

    RacerX,

    I changed the float, and it did help, but like you said, it didn’t go all the way to the right. I’m not all that strong with code, but I’ll try and see if I can find why it works on pages, but not on posts.

    Alchymyth, I’m confused by the statement

    back to single.php, restore what got disturbed with your other trial to remove things:

    What do you mean?

    Thread Starter eastbayjosh

    (@eastbayjosh)

    Wow, You guys saved me! I love you!!!

    Those two fixes worked out and I got it back. I have no idea how you knew that that code was missing, but thank you!

    And also, thank you. Again… thanks. ??

    Glad you got it back!

    I recommend installing Firebug for the firefox browser.

    This allows you to edit css real time. It points out errors in code and a ton more cool stuff.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Sidebar content shows in the wrong place’ is closed to new replies.