WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Centering and moving the single post navigation (5 posts)

  1. davehedgehog
    Member
    Posted 2 years ago #

    Is there any way to center the 'Previous and Next' links on the single posts? I'd also like to move them below the post instead of on top, is this possible?

  2. ChristiNi
    Member
    Posted 2 years ago #

    Hello davehedgehog,

    You will want to first identify the CSS that controls those links in your theme. The best way I have found to do this is to use the Firebug plugin with either Firefox or Chrome. Once you have identified the CSS rules, make sure you're using a Child Theme and make the necessary style changes to your Child Theme's style sheet. You can also move the position of those links to below your posts by making a custom single.php file for your Child Theme.

    http://codex.wordpress.org/Next_and_Previous_Links

    Hope this helps!

  3. davehedgehog
    Member
    Posted 2 years ago #

    I've managed to move it to the bottom but I can't work out how to center it. I've tried everything I can think of, but it just sits to the right. Maybe someone else can see where I'm going wrong: http://mightysparks.com/silent-night-deadly-night-1984/

  4. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Change:

    #nav-single

    to:

    #nav-single {
    	text-align: center;
    	top: 0.5em;
    	font-family: Verdana, Helvetica, sans-serif;
    	font-size: 9px;
    	color: #FFFFFF;
    	text-transform: uppercase;
    	font-weight: bold;
    }

    in your theme's custom stylesheet

  5. davehedgehog
    Member
    Posted 2 years ago #

    Thank you! I had tried text-align but I must've left the float or something in there.

Topic Closed

This topic has been closed to new replies.

About this Topic