Forums

[resolved] wp_pagenavi alignment (3 posts)

  1. Family Reflections
    Member
    Posted 1 year ago #

    I can't seem to align center the pagenavi plugin here: http://famreflections.com/page/2
    It's at the bottom of the page.

    I wouldn't mind if pagenavi was on the same line as the 'Older Entries' link, along with the 'Newer Entries' link - or if pagenavi was below the line that 'Older Entries' was on.

    Thanks for your help.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Add:

    .wp-pagenavi {margin-top:10px;}

    to style.css.

  3. Family Reflections
    Member
    Posted 1 year ago #

    Thank you. That wasn't exactly what I needed, but from that I was able to figure out what I wanted to do.

    I put:
    .wp-pagenavi {margin-left: 70px;}
    in style.css

    and rearranged some things in index.php to look like this:

    <div class="navigation clear">
    		<div class="left"><?php next_posts_link('&larr; '.__('Older Entries', 'my-tapestry')) ?></div>
    		<div class="left"><?php wp_pagenavi(); ?></div>
    		<div class="right"><?php previous_posts_link(__('Newer Entries', 'my-tapestry').' &rarr;') ?></div>
    	</div>

    Thanks. This is great.

Topic Closed

This topic has been closed to new replies.

About this Topic