Ready to get started?Download WordPress


[resolved] Reverse order of previous and next posts in Spun (6 posts)

  1. gotfork
    Posted 6 months ago #

    How would I go about making the "left arrow" nav previous button point toward the next post, and the "right arrow" nav next button point toward the previous post? (I know this sounds a bit strange, but I'm trying to get the ordering to match up with the way posts are shown on the front page). I know these are part of nav-below, but I can't figure out exactly how it is getting called, as it's not obvious to me from page.php content.php, etc. (I've been making changes with a child theme). Thanks, Alex

  2. gotfork
    Posted 5 months ago #

    And just to follow up, the solution was found here.

  3. djkunai
    Posted 5 months ago #

    So this is the code:

    .site-content #nav-below .nav-next a:before, .site-content #image-navigation .nav-next a:before {
    content: "";
    .site-content #nav-below .nav-next a, .site-content #image-navigation .nav-next a {
    left: 0;
    .site-content #nav-below .nav-previous a:before, .site-content #image-navigation .nav-previous a:before {
    content: "";
    .site-content #nav-below .nav-previous a, .site-content #image-navigation .nav-previous a {
    left: 86%;

    I'm not sure where to inject this, or if I'm supposed to replace a block with it. Also, what are the "" supposed to be?

  4. gotfork
    Posted 5 months ago #

    If you have a child theme add it to style.css, if you use custom CSS manager just add it there, otherwise you need to do that, but it will be overwritten each update.

    (I'm fairly sure).

  5. djkunai
    Posted 5 months ago #

    I added to it custom CSS but the arrow locations are simply switched. Now instead of it being

    <- [content] ->

    it appears as

    -> [content] <-

    It looks wrong. I was hoping the arrows would still point in the same direction but the newer/older would be reversed.

  6. stuudio
    Posted 5 months ago #

    Can this fixed in the actual code so users do not have to hack this every time there is an update? (Yes, I use child theme)
    I had to struggle with this BS too (http://wordpress.org/support/topic/back-and-forward-are-mixed-up?replies=6) and looks like I am not the only one.


You must log in to post.

About this Theme

About this Topic