Forums

Comments Page has no Nav? (4 posts)

  1. ninas
    Member
    Posted 4 years ago #

    http://twilight-fans.com/wp/?p=1#comments
    For some reason there's no nav?

    Anyone know how i can modify it so that it'll have the nav?

  2. soyuz
    Member
    Posted 4 years ago #

    from what i saw, you're template based on "Default" template. so you can modify the single.php similar to index.php.

    1. change this line:
    <div id="content" class="widecolumn">
    into this:
    <div id="content" class="narrowcolumn">

    2. before this:
    <?php get_footer(); ?>
    add this:
    <?php get_sidebar(); ?>

  3. ninas
    Member
    Posted 4 years ago #

    Thanks! :D It worked.
    http://twilight-fans.com/wp/?p=1#comments
    ^Did i mess something up so that the main section is a little lower than the homepage, though? :S

    http://twilight-fans.com/wp

  4. soyuz
    Member
    Posted 4 years ago #

    you're welcome.

    nope, you didn't do anything wrong. on the single page (single.php) is lower than the homepage because it's slightly different:

    <div id="content" class="narrowcolumn">
    
    		<div class="navigation">
    			<div class="alignleft"></div>
    			<div class="alignright"></div>
    		</div>

    it has a "navigation" div. maybe you can delete that if you don't need it. or put it at the bottom instead.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.