X
🐾 Coming from PetMatchPro 6.x? Version 8 adds real adoption analytics, similar-animal suggestions, SEO-friendly URLs, and overlay badges. See What's New →
PetMatchPro
  • Partners
    • AnimalsFirst
    • PetPoint
    • RescueGroups
  • What’s New
  • Shop
  • Demo
  • FAQ
  • Knowledge Base
  • About Us
  • Contact Us
  • My Account
  • Cart
Select Page
Green rocket icon for Getting Started documentation category

Getting Started

6
  • Activate Your License
  • Setup Wizard Walkthrough
  • Connecting Your Shelter System
  • Understanding License Tiers
  • Creating Your First Search Page
  • Creating Your First Detail Page
Blue code brackets icon for Shortcodes and Configuration documentation category

Shortcodes & Configuration

12
  • Shortcode Builder
  • [pmp-search] Reference
  • [pmp-details] Reference
  • [pmp-detail] Reference
  • [pmp-option] Reference
  • Parameters by License Tier
  • Common Shortcode Recipes
  • Pagination Setup
  • Excluding Values
  • Search Filter Button
  • Detail Button Hover Text
  • Search Card Hover Text
Purple palette icon for Templates and Design documentation category

Templates & Design

7
  • Search Templates Gallery
  • Detail Templates Gallery
  • Poster Templates
  • Theme Template Overrides
  • Color Customization
  • Font Size Customization
  • Detail Title Formats
Orange image with star icon for Icons and Overlays documentation category

Icons & Overlays

6
  • Understanding Pet Icons
  • Understanding Overlays
  • Icon Reference Gallery
  • Customizing Icon Display
  • Value-Based Icons
  • Icon Size Customization
Teal tag icon for Labels and Customization documentation category

Labels & Customization

3
  • Custom Labels Guide
  • Changing Labels via Filtering
  • Custom Currency & Date Formats
Blue funnel icon for Filters and Search documentation category

Filters & Search

5
  • Setting Up Search Filters
  • Species & Breed Filtering
  • Filter Value Management
  • Excluding Values via Filtering
  • Partner-Specific Filter Options
Violet chain link icon for Partner Integration Guides documentation category

Partner Guides

3
  • AnimalsFirst Integration Guide
  • PetPoint Integration Guide
  • RescueGroups Integration Guide
Red bar chart icon for Analytics and Tracking documentation category

Analytics & Tracking

7
  • Understanding PMP Analytics
  • GA4 Configuration
  • Google Tag Manager Setup
  • Leveraging Analytics
  • WP-Cron Requirements for PetMatchPro Analytics
  • Queue Health and Tools
  • Privacy and Data Retention
Amber wrench icon for Troubleshooting and FAQ documentation category

Troubleshooting

15
  • Common Error Messages
  • API Connection Issues
  • Template Not Found Errors
  • Theme Template Override Not Loading
  • Performance & Caching Best Practices
  • Animals Not Displaying
  • Stale Content / Cache Issues
  • Styling Conflicts
  • Empty Field Display
  • Analytics Queue Stuck or WP-Cron Not Running
  • Premium Feature Not Appearing After Upgrade
  • Troubleshoot the PetMatchPro Shortcode Builder
  • Reading PMP Debug Logs
  • wp-config.php Configuration Constants
  • How to Contact Support
Lightbulb icon representing PetMatchPro best practices guides for homepage layouts, button strategy, performance tuning, and template selection

Best Practices

10
  • Featuring Animals on Your Homepage
  • Adding Animals to Sidebars and Other Pages
  • Using Banners and Subtitles Effectively
  • Overlays and Icons for Quick Visual Cues
  • Writing Effective Detail Page Instructions
  • Button Configuration for Conversion
  • Optimizing Performance with API Caching
  • Customizing Typography and Icon Sizes
  • Lost and Found Search Best Practices
  • Template Selection Guide
View Categories
  • Home
  • Knowledge Base
  • Templates & Design
  • Color Customization

Color Customization

4 min read

Color Customization #

PetMatchPro lets you customize the color scheme of your search and detail pages to match your organization’s branding. Colors are configured through the admin settings and applied across all templates.

Accessing Color Settings #

  1. Go to PetMatchPro > Colors tab in the admin settings.
  2. Enter color values for the elements you want to customize. Hex (#024463), named colors (red, transparent), and functional notations (rgb(...), rgba(...), hsl(...), hsla(...)) are all accepted.
  3. Click Save Colors.

PetMatchPro Options Colors tab showing the Defaults accordion expanded with six hex color input fields - Primary (#3268fd in blue), Call to Action (#fdc732 in gold), Widget (#000000), Stat Box (#000000), Headings & Labels (#000000), and Body Copy (#000000) - with the full admin tab bar visible above and a Save Changes button below.

Available Color Settings #

PetMatchPro provides color settings for a wide range of elements:

Element Description
Default Primary Primary brand color used throughout templates
Default CTA Call-to-action button color
Search Button Submit button on search filter forms
Detail Title Animal name/title on detail pages
Icon Colors Pet status icon fill colors
Overlay Colors Photo overlay background and text
Background Colors Card and section backgrounds

The specific color options available vary by license tier. The Colors tab itself is available to all tiers (Basic included), but individual settings within it are gated. Free tier exposes core color controls (text, labels, titles, label icons); Junior and Preferred unlock additional controls for button backgrounds, banners, social, pet/overlay icons, instructions, and more. See Understanding License Tiers for the complete breakdown of which color settings unlock at each tier.

What Happens When You Save an Invalid Value #

PetMatchPro validates every color value at save time. If you paste a typo, a JavaScript snippet, or any other text that isn’t a recognized CSS color, the field is silently rejected and you’ll see a red admin notice at the top of the Colors tab on the next page render:

Invalid color value for detail_result_title rejected: “asdasdasdasdd“. Field unchanged.

The field reverts to its previous saved value (or stays empty if you never set one). Nothing harmful makes it into the public CSS. Two things to know:

  • What counts as valid: hex (3, 4, 6, or 8 digits with leading #), the 147 named CSS colors, transparent, currentColor, rgb() / rgba() / hsl() / hsla() functional notations, and the CSS-wide keywords inherit, initial, unset, revert.
  • What counts as invalid: anything that doesn’t match the above patterns – typos, partial values, free-form text, or values containing characters that could break out of a CSS declaration (;, }, <, >, quotes).

This is a security control as well as a usability one – it prevents an admin error or a tampered option value from injecting arbitrary CSS into the public-facing color block.

How Colors Work #

PetMatchPro uses CSS custom properties (variables) to apply colors:

  • --pmp-primary — Primary brand color
  • --pmp-bg-primary — Primary background color
  • --pmp-cta — Call-to-action color

When you save a color in the admin, PetMatchPro generates CSS that overrides these variables. This means your colors automatically cascade to all elements that reference them across every template.

Tips #

  • Use your brand colors. Matching PetMatchPro to your site’s color scheme creates a seamless visitor experience and builds trust.
  • Test contrast. Make sure text is readable against your chosen background colors. Dark text on light backgrounds (or vice versa) works best.
  • Clear your cache. If color changes don’t appear after saving, clear your browser cache and any server-side cache (OPcache, LiteSpeed, CDN).
  • No code needed. The Colors tab handles everything — you don’t need to write CSS to change colors.

Custom CSS #

For advanced styling beyond the Colors tab, add custom CSS through the WordPress Customizer:

  1. In your WordPress admin, go to Appearance > Customize.
  2. Open the Additional CSS panel.
  3. Enter your CSS rules.
  4. Click Publish.

Note: Earlier versions of PetMatchPro included a Custom CSS field in the plugin’s General Options tab. That field has been migrated to the WordPress Customizer’s Additional CSS panel – the WP-native location for site-wide CSS. Any rules previously entered in the plugin field should be moved to the Customizer.

All PetMatchPro elements use CSS classes prefixed with pmp-, making them easy to target. Use your browser’s developer tools (right-click > Inspect) to find the class name of any element you want to style.

No-!important policy. PetMatchPro’s plugin styles do not use !important. When overriding styles, prefer increasing CSS specificity (more specific selectors) rather than reaching for !important.

Next Steps #

  • Search Templates Gallery — Browse available templates
  • Theme Template Overrides — Full template customization
  • Styling Conflicts — Fix CSS conflicts with your theme
Color Customization ultima modifica: 2026-03-24T18:12:36-04:00 da PetMatchPro
Updated on May 8, 2026

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Theme Template OverridesFont Size Customization

Submit a Comment Cancel reply

Your email address will not be published. Required fields are marked *

Table of Contents
  • Color Customization
    • Accessing Color Settings
    • Available Color Settings
    • What Happens When You Save an Invalid Value
    • How Colors Work
    • Tips
    • Custom CSS
    • Next Steps

© Copyright 2018-2026 by PetMatchPro, All Rights Reserved

  • Privacy Policy
  • Terms of Use
  • Disclaimer
  • Login