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.
Add:
.wp-pagenavi {margin-top:10px;}
to style.css.
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('← '.__('Older Entries', 'my-tapestry')) ?></div>
<div class="left"><?php wp_pagenavi(); ?></div>
<div class="right"><?php previous_posts_link(__('Newer Entries', 'my-tapestry').' →') ?></div>
</div>
Thanks. This is great.