• I have been trying my hand at designing a blog website for a friend and I’m almost done except with the fact the text for the actual blogs is all off on the left.

    https://paintingchef.com/

    I want all of the text to fit into the green boxes. I have messed around with the CSS a million times and maybe I’m just tired but I can’t get the Left side moved. Can anyone suggest anything?

    Thanks a million!

Viewing 15 replies - 16 through 30 (of 30 total)
  • post your sidebar.php in that case.

    btw i’m viewing your site in firefox and it doesn’t show any huge space :-S

    Thread Starter lysie6211

    (@lysie6211)

    Well then everyone must now use firefox!! =) I moved the php sidebar call because the sidebar wasn’t going over to the right it was going underneath my entries.

    Here is the sidebar php:
    <!–
    <div id=”sidebar”>
    <img src=”images/sp.jpg” width=”95″ height=”75″>
    <div align=”left”>

    • Painting Chef – Augusta, GA
    • My endless quest for
    • motherhood and the
    • perfect 4-inch stilettos.
    • With a little extra snark
    • for good measure. This is
    • where I keep my ramblings
    • as they have gotten too
    • numerous to store in my head

    </div>

      <?php get_archives(‘postbypost’, ’10’, ‘html’, ”, ”); ?>

    <h4><?php _e(‘Archives:’); ?></h4>

      <?php get_archives(‘monthly’, ”, ‘html’, ”, ”, TRUE); ?>

    <h4><?php _e(‘Categories:’); ?></h4>

      <?php list_cats(FALSE, ”, ‘name’, ”, FALSE, TRUE, FALSE, TRUE); ?>

    <h4><?php _e(‘Search:’); ?></h4>

    • <?php include (TEMPLATEPATH . ‘/searchform.php’); ?>

    <h4><?php _e(‘Links:’); ?></h4>

    • <?php get_links(-1, ‘
    • ‘, ‘
    • ‘, ”, FALSE, ‘id’, FALSE); ?>

    <br>

    </div>–>

    Ok. Had a look in IE6 and you’re right. There’s a whopping bit gap between posts. I also had a look at your source view, and noticed:

    <div class=”post”>
    <div class=”date”><small>PaintingChef — September 23, 2005, 10:04 am</small>
    </div>

    <h1 id=”post-131″>Apparently the voices in my head have a wicked sense of humor.</h1>
    <div class=”entry”>
    <div style=”clear:both;”></div>

    I think you’ll find that if you remove this clearing div from inside your entry div’s then wrapping your text between ‘s the gap should be removed.

    You’re clearing formating inside the entry div’s, which I know you don’t want to do.

    Let me know how you go ??

    Thread Starter lysie6211

    (@lysie6211)

    Thanks. I thought it was something to do with that and I have search thru my CSS and my php and I can’t locate where that div is. I would think it would be in the index.php right?

    Yes, I’d imagine so. If not, then try:

    single.php
    post.php
    or any other php that you’ve copied and remaned. Even category.php, if one is set up.

    What editor are you using to design the site? Or are you design straight into WordPress itself?

    Thread Starter lysie6211

    (@lysie6211)

    Ok I did find this in the links.php
    <em class=”clear”> 

    no this won’t help. nothing is wrong with css tags. post your index.php

    Thread Starter lysie6211

    (@lysie6211)

    I’ve using a theme that I modified. (Amsterdamn Nights) But I’ve pulled that thing apart completely. I’ve designed websites (using Dreamweaver) but never a blog site. A friend asked me to as a favor and it hasn’t been going well. Everything I know doesn’t make sense and it’s driving me insane.

    OK. Note that down as a snippet in a text file on your desktop for further use, but that’s not what you’re looking for.

    Open index.php again (I know you’ve done this a thousand times already ?? ) Go directly to any coding that has “entry” and carefully search for the clearing div. Work slowly. Once you’ve checked it and found zip, open single and do the same. then post. Then page. Then category.

    Work your way thru all of them; it’s not in your sidebar, cos it’s “post text”. It’s not in your header, either.

    I’d check also your comments.php to be on the safe side, although what I looked at was a typical post, with no comment section attached.

    let me know how you go – and Good Luck! It’s a right pain in the &%#@ when you can’t find it the first time.

    Thread Starter lysie6211

    (@lysie6211)

    Before I forget THANK YOU both so much for the help!!

    Here is the index.php:

    <?php get_header(); ?>
    <?php get_sidebar(); ?>
    <div id=”main”>
    <?php if (have_posts()) : ?>
    <div class=”navigation”>
    <div class=”left”><?php previous_post(‘« %’, ”, ‘yes’); ?></div>
    <div class=”right”><?php next_post(‘% » ‘, ”, ‘yes’); ?></div>
    </div>
    <?php while (have_posts()) : the_post(); ?>

    <div class=”post”>
    <div class=”date”>
    <small><?php the_author(‘nickname’); ?> — <?php the_date(); ?>, <?php the_time(); ?></small>
    </div>

    <h1 id=”post-<?php the_ID(); ?>”>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></h1>

    <div class=”entry”>

    <?php the_content(__(‘(more…)’)); ?>
    </div>

    <div class=”post_info”>
    <small><?php _e(“Filed under:”); ?> <?php the_category(‘, ‘, ‘single’); ?> — <?php comments_popup_link(__(‘Comments (0)’), __(‘Comments (1)’), __(‘Comments (%)’), __(‘comments-link’), __(‘Sorry, the comment form is closed at this time.’)); ?></small>
    </div>
    <!–
    <?php trackback_rdf(); ?>
    –>
    </div>

    <?php endwhile; ?>
    <div class=”navigation”>
    <div class=”left”><?php previous_post(‘« %’, ”, ‘yes’); ?></div><div class=”right”><?php next_post(‘% » ‘, ”, ‘yes’); ?></div>
    </div>

    <?php else : ?>

    <h1>Not Found</h1>
    <?php _e(“Sorry, but you are looking for something that isn’t here.”); ?>
    <?php include (TEMPLATEPATH . “/searchform.php”); ?>

    <?php endif; ?>

    </div>

    <?php get_footer(); ?>

    Ok. Here’s a little trick I’ve used to keep track of what goes where.

    Open index.php again, and this time type <!– index –> right next to <div class=”entry”> so it looks like this:

    <div class=”entry”><!– index–>

    Then open all other php’s and type exactly the same thing, only changing the index to match the title of your php. then go to your site and use the source view to open your active page where you’re having trouble. You’ll see your “comment” right next to the <div class=”entry”>, which will tell you what php is connected to the clearing div.

    then you’ll be able to open that particular php and delete the code.

    PS: I’d also check the actual post manage/posts/whatever the name of the post was – just in case you actually wrote the clearing div in the body of your post.

    Thread Starter lysie6211

    (@lysie6211)

    Thanks Katie!!

    Thread Starter lysie6211

    (@lysie6211)

    Ok the clearing div is in ALL of the posts. I did just one and it fixed itself. (This isn’t my blog it’s a friend’s) so I think if I go thru and edit them all it will be ok. PRAISE JESUS!!

    THANK YOU ALL FOR YOUR HELP!!!!!!!!!!!!!!!

Viewing 15 replies - 16 through 30 (of 30 total)
  • The topic ‘Need CSS help (I believe)’ is closed to new replies.