• Still working on the same website… With a new question.

    About pagination:
    1. – What I need is to remove the page numbers (1,2,3,…5), but keep the links to previous and next articles.
    How?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter paula013

    (@paula013)

    Two cluncks of code that I have found, but changing them doesn’t solve it.

    At line 4444

    /* Display archive navigation page numbers in larger views */
    	.pagination .page-numbers {
    		display: inline-block;
    	}

    At line 1510

    .pagination,
    .post-navigation {
    	margin-bottom: 44px; /* Equal bottom margin matching top margin would be 48px, but adjusting to make it visually appear equal */
    	margin-bottom: 2.75rem;
    }
    .pagination {
    	position: relative;
    	text-align: center;
    }
    
    /* Tip27 - Uncomment next code line to disable "previous article - next article" navigation below the content of a post */
    
    .post-navigation {
    	display: none;
    }

    And:
    In the lines 4444 and on, I have tried to change the font color. Result was that even numbers disappeared but that odd numbers didn’t. How is that possible?

    Thread Starter paula013

    (@paula013)

    /* Tip27 - Uncomment next code line to disable "previous article - next article" navigation below the content of a post */
    
    .post-navigation {
    	display: block;
    }
    .page-numbers {
    	visibility: hidden;
    }

    This code makes both the page numbers and previous – next links disappear.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pagination: next, previous and numbers’ is closed to new replies.