header-logo
Getting started with WixBuild your website and business with Wix. Try using our AI tools to create your website, customize templates, or hire professionals to build or enhance your online presence.
Creating a websiteRead how to use the Wix Editor and manage content on your site. Discover how to protect your visitors' privacy and make your site accessible.
Account & billingReview your account settings, manage your subscriptions and plans and understand your invoices.
Using the Wix mobile appsUse our mobile apps to run your business efficiently on the go and set up a dedicated app for your site members to stay in touch.
Connecting a domainFollow our step-by step guides to learn how to purchase, connect or transfer a domain for your site, and find out how to keep your site’s data secure.
Managing your businessGet tools to grow your business and web presence. Find the right tools for your specific needs, set up online payments and keep track of your site's analytics.
Promoting your siteLearn to make your site more visible promoting it on search engines, sending emails and running paid ads. Improve your online presence with practical tips.
Studio, Partners & EnterpriseGet the most out of your Studio or Enterprise account with advanced features that'll help you work more efficiently.
Need more help?Find solutions for site performance and technical issues, learn about issues we’re working to fix or contact us for help.
placeholder-preview-image
Wix LearnImprove your skills with our courses and tutorials.
Wix BlogGet tips for web design, marketing and more.
SEO Learning HubLearn to increase organic site traffic from search engines.
Website developmentBuild a custom site using our full-stack platform.
Hire a ProfessionalGet matched with a specialist to help you reach your goals.
placeholder-preview-image
In this article
  • Step 1 | Add and customize a pagination bar
  • Step 2 | Connect to the CMS

CMS: Adding and Setting Up a Pagination Bar

In this article
  • Step 1 | Add and customize a pagination bar
  • Step 2 | Connect to the CMS
Use a pagination bar to provide visitors with a simple and intuitive way to browse through a large collection of items within a repeater or gallery. A pagination bar lets visitors navigate through 'pages', or sets of items displayed on a dynamic page. The dataset's ' Items per load' field determines the maximum number of items that appear in each 'page'. 

The number of pages displayed by the pagination bar is calculated based on the total number of collection items retrieved by the dataset and the 'Items per load' field. For instance, if you have 50 visible items in your collection and you've set the 'Items per load' field to 10, your pagination bar will display 5 pages (50/10=5). Each page represents a set of items, and the pagination bar allows your visitors to navigate through these sets. 
Screenshot of a pagination bar that connects to the same collection as the repeater.
Before you begin:

Step 1 | Add and customize a pagination bar

Add a pagination bar to your site and customize it to match your design needs. 
  1. Go to your editor.
  2. Go to the relevant dynamic page that can list multiple items:
    1. Click Pages & Menu  on the left side of the editor.
    2. Click Dynamic Pages.
    3. Click the relevant dynamic page.
      Note: Pagination bars are not relevant for dynamic item pages that can only display 1 item at a time. 
Screenshot of going to a dynamic list page in the Wix Editor.
  1. Add a pagination bar: 
    1. Click Add Elements  on the left side of the editor.
    2. Click Interactive.
    3. Click Pagination Bar
    4. Click and drag the pagination bar you want to use onto the page. 
Screenshot of adding a pagination bar in the Wix Editor.
  1. Customize the layout and design of the pagination bar: 

Step 2 | Connect to the CMS

Connect your pagination bar to the same dataset that connects to your repeater or gallery. Then resize your pagination bar and test it out in preview mode. When it's ready to go live, publish your site. 
  1. Click the pagination bar. 
  2. Click the Connect to CMS icon .
  3. Click the Choose a dataset drop-down and select the same dataset that connects to your repeater or gallery. 
Screenshot of connecting a pagination bar to a dataset.
  1. (If needed) Adjust the number of items that appear per 'page' in the pagination bar: Note: This is also the maximum number of items that can display per load in your repeater or gallery.
    1. Click Dataset Settings in the Connect Pagination panel on the right.
    2. Edit the Items per load field. Learn more about editing your dataset settings.
  2. Adjust the size of your pagination bar by stretching it or adjusting the borders manually:
    • Stretch to width: Click the Stretch icon  to expand the width of the bar to the edges of the site.  
    • Manually: Click and drag the edges of your pagination bar to resize it. 
  3. Click Preview to test your pagination bar. 
  4. Click Publish if you are ready to make the changes go live. 

Helpmate

Hello

Need a bit more guidance?
Unlock personalized helpLog in to get the most out of Helpmate.