how to change color of page number on shopify

Maximize Shopify: Alter Your Page Numbers' Color Instantly

By Michael Young
AD

Ever found yourself wishing you could tweak the appearance of your Shopify store to better suit your brand's aesthetic? One small, yet impactful change you might consider is altering the color of your page numbers.

By customizing the color of your page numbers, you can create a more cohesive and visually appealing layout for your customers. Fortunately, Shopify's liquid template language allows you to make this adjustment with ease. Let's guide you through the steps to change the color of page numbers on your Shopify store.

Understanding Your Shopify Theme

Before diving into the process, it's essential to understand that the method to change page number color may vary slightly depending on your Shopify theme. For this guide, we'll focus on the standard ' differentiable' page navigator used in many themes.

AD
Make Your Shopify Product Page Look PROFESSIONAL with Color Swatches, Tabs & Metafields!
Make Your Shopify Product Page Look PROFESSIONAL with Color Swatches, Tabs & Metafields!
How to Use Color in Your Website or Online Shop
How to Use Color in Your Website or Online Shop
two screens showing the same color scheme as well as different font and numbers on each screen
two screens showing the same color scheme as well as different font and numbers on each screen

To proceed, you'll need to access and edit the code of your Shopify theme. If you're not familiar with coding, don't worry - we'll provide clear, step-by-step instructions.

Locating Your Theme Files

First, log in to your Shopify store's admin interface. Navigate to 'Online Store' in the left-hand menu, then click on 'Themes'. Find the 'Actions' menu on your current theme and select 'Edit code'.

Shopify 101: Using Color Swatches on Your Theme
Shopify 101: Using Color Swatches on Your Theme
A Beginner’s Tutorial to Shopify Theme Customization
A Beginner’s Tutorial to Shopify Theme Customization
Shopify for Beginners – Set Up Your Store in 1 Day
Shopify for Beginners – Set Up Your Store in 1 Day

Next, look for the 'Snippets' folder. Snippets are small blocks of code that allow you to customize specific elements of your theme. The 'pagination.liquid' snippet is where you'll find the page number styling.

Changing the Page Number Color

Once you've located the 'pagination.liquid' file, click on it to open. You'll see lines of code, but don't be intimidated - we're only interested in one particular line. Look for this piece of code:

AD
<a href="{{ pagination.next_page_path }}" class="pagination-next">>>

This is the template for the 'Next' page link. The color of the page numbers is determined by the style applied to the '.pagination_links' class. So, we need to add a new style tag to our files.

Shoe Color Change for ebay
Shoe Color Change for ebay
Etsy vs Shopify- Which is better for your small business in 2022? - Days
Etsy vs Shopify- Which is better for your small business in 2022? - Days
How to edit your Shopify theme (step-by-step guide)
How to edit your Shopify theme (step-by-step guide)
Let your customers know their shipping confirmation | Shopify tips | Shopify hacks Shipping process
Let your customers know their shipping confirmation | Shopify tips | Shopify hacks Shipping process
Top 5 Shopify Theme Features You Should Have in 2025
Top 5 Shopify Theme Features You Should Have in 2025
How to Optimize Your Shopify Store Design For Conversions
How to Optimize Your Shopify Store Design For Conversions

Scroll down to the bottom of the file and add the following code snippet:

How to Change Shopify Store Name: Complete Guide
How to Change Shopify Store Name: Complete Guide
Fast Shopify Sales Tips Most Beginners Ignore
Fast Shopify Sales Tips Most Beginners Ignore
50 Shopify Store Checklist for 2026 | Complete Shopify Ecommerce Setup Guide for Beginners
50 Shopify Store Checklist for 2026 | Complete Shopify Ecommerce Setup Guide for Beginners
AD