Buy me a coffee

How to change order of Blog Navigation (PREVIOUS = Next / NEXT = Previous)?

#1. All Blog Pages

To change the order of Blog Navigation (Pagination) on all blog pages

How To Change Order Of Blog Navigation 01 Min

You can use this code to Custom CSS box

body[class*="type-blog"] {
section#itemPagination {
    flex-direction: row-reverse;
    justify-content: space-between;
}
.item-pagination-link--prev {
    margin-right: 0;
    flex-direction: row-reverse;
}
.item-pagination-link--prev svg {
    transform: rotate(180deg);
}
.item-pagination-link--next {
    margin-left: 0 !important;
    flex-direction: row-reverse;
}
.item-pagination-link--next svg {
    transform: rotate(180deg);
}
.item-pagination-icon.icon.icon--stroke {
    padding: 0px !important;
}
.item-pagination-link--next h2 {
    text-align: left !important;
}}

How To Change Order Of Blog Navigation 02 Min

Result:

How To Change Order Of Blog Navigation 03 Min

#2. Specific Blog Pages

First, you need to find the Blog Page ID. In my example, it is:

  • #collection-6677756d03a4f15ba27ce9d8

How To Change Blog Title Size 06 Min

Next, you need to change # to dot . symbol, so the new ID will be:

  • .collection-6677756d03a4f15ba27ce9d8

Next, use this code to Custom CSS box

/* Pagination Invert */
.collection-6677756d03a4f15ba27ce9d8 {
section#itemPagination {
    flex-direction: row-reverse;
    justify-content: space-between;
}
.item-pagination-link--prev {
    margin-right: 0;
    flex-direction: row-reverse;
}
.item-pagination-link--prev svg {
    transform: rotate(180deg);
}
.item-pagination-link--next {
    margin-left: 0 !important;
    flex-direction: row-reverse;
}
.item-pagination-link--next svg {
    transform: rotate(180deg);
}
.item-pagination-icon.icon.icon--stroke {
    padding: 0px !important;
}
.item-pagination-link--next h2 {
    text-align: left !important;
}}

How To Change Order Of Blog Navigation 04 Min