• christylove

    (@christylove)


    Can someone tell me what’s pushing my sidebar down on the homepage? I have been looking for hours.

    ugh!

    crc site

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • randinicole

    (@randinicole)

    Get rid of the div that is right before the sidebar (i am guessing) if you post your index.php page i can check it out but when i tested in my browser i removed it and it worked.

    <div class="recover"></div>

    Thread Starter christylove

    (@christylove)

    Hi Randinicole!

    Thank you so much for looking. My index.php only has this.

    <?php get_header(); ?>
    
    	<?php 
    
        while (have_posts()) : the_post(); 
    
        	include(dirname(__FILE__).'/post.php');
    
        endwhile;
    
        ?>
    
    <?php get_footer(); ?>

    post.php has it, but when I remove it, nothing happens. Also, that home page is a template.

    Here is the post.php

    <?php 
    
    global $more; 
    
    $template_url = get_bloginfo('template_url');
    
    ?>
    
    <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    
        <div class="entry_header">
    
            <p class="entry-date"><?php the_time('M y') ?><br /><span class="date"><?php the_time('j')?></span></p>
    
            <?php echo (is_home()) ? '<h2 class="home">' : '<h1>'?><a href="<?php the_permalink() ?>"><?php the_title(); ?></a> <?php edit_post_link('Edit', '<span class="editpost">', '</span>'); ?><?php echo (is_home()) ? '</h2>' : '</h1>'?>
    
            <?php if ($post->comment_status != 'closed' && !post_password_required()):?>
    
            	<div class="comment-bubble"><span><?php comments_popup_link('<span class="nocomment">No Comment</span>', '&nbsp;1 Comment', '% Comments'); ?></span></div>
    
            <?php endif;?>
    
            <div class="recover"></div>
    
        </div>
    
        <div class="entry_content">
    
            <?php $more = 0;
    
    		the_content('<span class="readmore">Read the rest of '. get_the_title('', '', false). ' &raquo;</span>', FALSE);
    
    		wp_link_pages(array('before'=>'<p class="pages-icon">' . __('Pages:'), 'after'=>'</p>'));
    
    		?>
    
            <div class="postedinfo"><?php the_tags('<span class="tag-meta">Tags: ', ', ', '</span><br />'); ?> <span class="folder-icon"><?php _e('Posted in')?></span> <span class="categories"><?php the_category(' ') ?></span> <?php _e('by')?> <span class="usr-meta"><?php the_author() ?></span>.
    
            <span class="comment-icon"><?php comments_popup_link('No Comments', '1 Comment', '% Comments')?></span>
    
            <?php if (isset($options['tags'])) : ?><span class="tags"><?php the_tags('', ', ', ''); ?></span><?php endif; ?></div>
    
        </div>
    
    </div>

    when I do into the css and remove all references to it, the page looks like this now. It removes it, but my bg is gone crc site

    Thanks again.

    randinicole

    (@randinicole)

    what does your sidebar.php tag have?

    also add that div back to where it was so it puts your page back to how it was 😉 Just realized you are working a premium theme, you might have want to contact the author (since the setup is a bit different) I am sure they can help you if what worked for me doesnt work for you

    Thread Starter christylove

    (@christylove)

    I figured it out! There was a </div> tag that was by itself and did it!!

    Thanks so much!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘edegree theme’ is closed to new replies.