Forums

[resolved] widgets pushed down page past content (6 posts)

  1. powdork
    Member
    Posted 1 year ago #

    for some reason, my primary widget is now being pushed down the sidebar past all the content on my static pages. this just started happening two days ago. i had also just installed exec-php 4.9 but deactivating it doesn't fix the problem. the dynamically generated pages do not have this problem, despite using the same template.
    it's at powdork.com
    thanks

  2. kmessinger
    Member
    Posted 1 year ago #

    The pictures in your most recent post are most likely too wide and are pushing the sidebar down. The width of all components has to fit into the page size. :^)

  3. powdork
    Member
    Posted 1 year ago #

    possibly, but then why wouldn't it affect the blogs page (same posts)? also, the pictures haven't changed and it was fine 2 days ago. also, the gear and videos pages have no pictures, but still have the issue.

  4. alchymyth
    The Sweeper
    Posted 1 year ago #

    how is the front page programmed?

    on first glance, it appears to be two posts, but the html code in the browser does not match that:

    it starts with (2 divs opened):
    <div id="content" role="main"> <div class="entry-content">

    and ends with (3 divs closed):

    </div><!-- .entry-content -->				</div><!-- #post-## -->
    			</div><!-- #content -->

    and has another post title in the middle:

    <h2 class="entry-title"><a href="http://www.powdork.com/?p=5">lake tahoe is stoked</a></h2>

    also, the validation reports an extra </div> somewhere:
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.powdork.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

    can you describe how the front page is done;
    and can you paste the code of the front page template into a http://pastebin.com/ and post the link to it here?

  5. kmessinger
    Member
    Posted 1 year ago #

    Sometimes just disabling a widget does not work. You need to delete it out of the plugins folder.

  6. powdork
    Member
    Posted 1 year ago #

    ok, so what i had done while trying to remove the opening page title was to remove this from loop-page.php

    <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    					<?php if ( is_front_page() ) { ?>
    						<h2 class="entry-title"><?php the_title(); ?></h2>
    					<?php } else { ?>
    						<h1 class="entry-title"><?php the_title(); ?></h1>
    					<?php } ?>

    i neglected to remove one of the closing divs. thanks for pointing me in the right direction.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.