Introduction
Maintaining font consistency between your store and loyalty program helps deliver a seamless and professional experience for your customers. By applying custom CSS to align your loyalty program fonts with your store’s, you can unlock several key benefits:
Brand Consistency
Keep your branding cohesive across all customer touchpoints.Professional Appearance
Uniform fonts give your site a polished, high-quality look.Better User Experience
Familiar typography improves readability and navigation.Stronger Brand Identity
Reinforce your brand personality with consistent visual design.Increased Trust
A unified appearance builds credibility and trust with your audience.
Step-by-Step Guide
Step 1: Use Developer Tools to Identify Your Store Font
If you're using Chrome:
Right-click on your storefront and select Inspect
Or press
F12(Windows/Linux) orFn + F12(Mac) to open DevTools
If you're using Safari:
Step 2: Locate the Font Resource
Go to the "Network" tab > Resource type selection: "Font" > Refresh the page to load font files
a. Chrome
b. Safari
Step 3: Apply the Font via Custom CSS
Load font resources from the remote server
/*
* Replace all placeholders before using this code:
*
* {{name}}: Font family name.
* {{weight}}: Font weight, such as 400, 500, 600, or 700.
* {{link}}: Full HTTPS URL of your font file.
* {{type}}: Font format, such as "woff2" or "woff".
*/
@font-face {
font-family: '{{name}}';
font-style: normal;
font-weight: {{weight}};
font-display: swap;
src: url('{{link}}') format('{{type}}');
}
Set the font style of the specified element.
/*
* Replace YOUR_FONT_NAME with your font's name.
* Replace the placeholder URLs with the full HTTPS URLs
* of your own font files.
*
* If you only have a WOFF2 file, remove the WOFF entry.
*/
@font-face {
font-family: 'YOUR_FONT_NAME';
font-weight: 400;
font-style: normal;
font-display: swap;
src:
url('YOUR_WOFF2_FONT_URL') format('woff2'),
url('YOUR_WOFF_FONT_URL') format('woff');
}
/* CWILL Loyalty: Primary and secondary fonts */
.loloyal-primary-font,
.loloyal-secondary-font {
font-family: 'YOUR_FONT_NAME', sans-serif !important;
}
💡 Tips:
Replace the sample URL and font name with your actual resource link and font.
You can define multiple
@font-facedeclarations if your font has different weights or styles.








