Rename Portfolio Pagination Titles to “previous/next”

#1. First, you access Custom CSS box

#2. Enter the code below and click Save

/* prev next */
.item-pagination[data-collection-type^="portfolio"] h2 {
    visibility: hidden;
}
a.item-pagination-link.item-pagination-link--next h2:after {
    content: "next";
    visibility: visible;
}
.item-pagination-link--prev h2:before {
    content: "previous";
    visibility: visible;
}

Rename Portfolio Pagination Titles To Previous Next 01 Min#3. You will have a result like this

Rename Portfolio Pagination Titles To Previous Next 02 Min