Pagination

Pagination links allow visitors to browse more than one page of objects when there are a large number of them to display.

Pagination links are provided by the Zendesk {{pagination}} helper, but changes are possible using HTML and CSS. Our themes have the pagination links (.pagination-next-link, .pagination-prev-link, .pagination-first-link and .pagination-last-link) inherit outline button styling by default.

Pagination links will only be displayed if there are more than 30 objects (categories, sections, articles etc.) to display.

Standard pagination links
View code
ca3bea572a47878b4c4f7bc3f8c464b8bb1bca00e58b7f817adf24caa3fc098aa8bf2fddec1f2e5c89196b56d043cdbf12d16b994af08982d249ab2575ef477bef59990809ef9e69f48069ffac82c9a29e926a831b5c3ec6a143c1ab84a02a1017f3dff0217a7bed75c4b4c2691beacccd5c823748448ec13b6ca6d2a1f6a89ebc64219c7515f841e78f7ac30d4e397f9081af39f6c74dca535acd6a4830ac4c21e7bb6e74547bb2c99076f865030c6816bbd1dba7c1545547d4533dc6d935e0

You can edit the pagination styles directly in the theme’s style.css file or through the _pagination.scss Sass partial to give the links a different appearance. For example, you could apply the primary button style:

Pagination links as primary buttons
View code
be886d346707e9d4e2a1ec575dd88f2334141e5ab331841e9017e239452781fec41c81126f9de3bffb758dc5750fd999e7cee13823e7dfaa0d86f0a464900d11978c0ee395069c6021fb682480d73f942f0a6a80f816604c834e1e740cd0e4c798fe422beaf2364bad508da7afa5a14f0180eba2de2ca04506275e0f5827f66c9539dfd1dc371f636288ef6cb242d42d96ba99e18e3845a6a1890e35d4903a1fc35416f19ea5a6021dcd3eb13c604ec098074028ab22302849ac49b363aeb732fa428a9fec395755733c1c53072b7647c1ef0c70a29181a4ada16095c95cb01aac2a01b86797679a80149d8186e3211586fbae27ae40e8c16b8e326d5880748a2d7e2aeec5292af0426e5b4974ff7844c58b011c2144e5a45a407fe2ada7602a599e3d524d8a0e0140f95f237fe1296a5da826c2eeba927f8d24ed826dd920cbd597593fa64bc747e31fdf6a0a78f8e3bbffcd06fd982a51173e624b3a83a2caf8017012c744a1f613e05c7f8dd91fc4b75dc1a9911e966115d3a7c9dac4170d19e51690d4a6d24674a6218e27c07dde1320be2a44b1740869a788bc7f8e6e73877913fa8e504b7e19eca3099f0872398e402710c87322cd5c0399a2a8b58b86bcc02f4e18ae1b32f906b2c39613bbdc170c3e43fea80994c99faff3d08d83f04d2d2a51c5aa1e081ec8c5618a51ec963d53cfc1b75739d2be91d3031325a8280d55789d7ac2a6441c3e6a5175ed0fe27eed530864514afa483cec10b926422588f40c81b033209f7759d5614e6c80ea4bb09ad7ff1c71a9f2887a23a7f934d617623cd8bdb4c6173bf02fa6643269f20dcfbd74318c68f300d7f13decdc7e09b303fee0e4d4da4c0a9d4ee2b5610e9d126981f18d9630d88f3e7a21281689b7a528c80fb0dfe3f7173c0f2123c1eedc4712457bf6d948c9208356dbb8075cfadf7297ee44e93dbc1326018257cda719c2a7a2f4df7b7e3c582537f7465185e1f0564026bb31759a1b38e2e4cd841ebbb5a0f11691cd019e424b51dfa11c10e6f3a5167b177a9cc2194930ff6e58bb05977494aa1e60394374b675029c056d237f9e0098b324878314e28695dd4c15e175651c2358a3c5fc38ef9cd3d2558e68a038a74b4fd71f3cf65f0bb9dd90f5e7ce8852f08b20eb947fe150bd01396e908c8f12d18daeb414862d3721df37369d8a48ab3e3f031b464ed54173ed87a90fd9e10aa932d89f5ad7c028d3a6d5d41308c7eec24329f798f92e9733eb26385c3c44db6d308e249276557b9c78c455afb234f50381430e991c8db135eb2ea4b7da21eff127e20a99116e9529b859a6b6c59b6b06e240574d01d059bbaffb7d6316fa2ea77540a47c6ea89e665985e91e3c7ea569bd4b212c8666d56efe5de71a9fa5898c5c586907fd95e9d7f77ca4fd24f43712ed2234494ad5d4be52650d6ea70c026b2f0908728d30d932148ea89787366a216484839fb7996fe6e43659c64ac91da953a144a6321e146a4c096a16d69488ffe87bf08db72b818182503af8f0357a43ba2155514906eba386af4e920403d019000ec9cbf0e6be278e793075ddc5748e015ce3c3fee2a835850147ade75e322353e3828819de5742fbda800c559411cfffb1305c0fcba0a768629bd12c9043af1bb46acd75daffe8cd6bb89bea57315a030d2ff22dee76393ddf6668c854851ce8f3b345787a455f6df525092b7263d92362179585d2387e3112024df1d334f8d6d5faf60e6923a983ac758a75ddc375b4efb726db456070c1914f678fa0653153532b8bd86fdb987f3d56a428b229fb02be1ca77f774b0915ae95463cf94832f7511eb365f6744c822c793cb963b3792b07a662e6e8c48671c6a48f94e90f0f23684da728692229fb97cb6fc0e6517a64f37389a1696ea26e8056fef95ed464d419211411cd9031fb02dfbd4360dae56e341eebfb6cfd6269875586

The HTML for pagination links is provided by the Zendesk {{pagination}} helper and cannot be modified directly.

You can use pagination patterns by copying and pasting the code into the position you’d like them to appear on any page that supports the helper:

  • Home page
  • Article page
  • Contributions page
  • Request List page
  • Search Results page
  • Section page

Related patterns