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
  • Troubleshooting
  • Styling Conflicts

Styling Conflicts

3 min read

Styling Conflicts #

Sometimes your WordPress theme’s CSS can override PetMatchPro styles, causing layout issues, wrong colors, or broken formatting. This guide helps you identify and fix these conflicts.

How to Identify a CSS Conflict #

Step 1: Inspect the Element #

  1. Right-click on the element that looks wrong.
  2. Select Inspect (or press F12).
  3. The browser developer tools will open, highlighting the element’s HTML and CSS.

Step 2: Check for Overridden Styles #

In the Styles panel, look for PetMatchPro styles that are crossed out. Crossed-out styles mean another CSS rule is overriding them. The overriding rule will be listed above it.

Step 3: Identify the Source #

The Styles panel shows where each CSS rule comes from (file name and line number). Look for rules coming from your theme’s CSS files that override rules from pet-match-pro-styles.css.

PetMatchPro CSS Conventions #

All PetMatchPro CSS classes use the pmp- prefix. This makes it easy to identify PetMatchPro elements:

  • pmp-search-results — Search results container
  • pmp-search-result-container — Individual animal card wrapper
  • pmp-details-container — Detail page container
  • pmp-error — Error messages

If your theme targets generic selectors (like table, img, a, h2) with aggressive styles, those may conflict with PetMatchPro elements.

Fixing Conflicts #

Method 1: Use WordPress Additional CSS #

Custom CSS for PetMatchPro lives in the WordPress Customizer (the in-plugin Custom CSS field was retired and any existing rules are auto-migrated to this location):

  1. Go to Appearance > Customize > Additional CSS.
  2. Add your CSS rules targeting pmp- prefixed selectors.
  3. Click Publish.

Rules added here apply site-wide and survive plugin updates. If you previously had rules in the PetMatchPro Custom CSS field, look for a /* Pet Match Pro Custom CSS - Migrated */ block at the bottom of Additional CSS — that’s your old content.

Method 2: Increase CSS Specificity #

Instead of using !important (which PetMatchPro avoids), increase the specificity of your selector:

/* Less specific — may be overridden by theme */
.pmp-search-result-container { padding: 10px; }
/* More specific — will override theme styles */
.pmp-search-results .pmp-search-result-container { padding: 10px; }
/* Even more specific */
div.pmp-search-results div.pmp-search-result-container { padding: 10px; }

Method 3: Target the Theme CSS #

If the theme is applying unwanted styles to PetMatchPro elements, add a more specific rule in Appearance > Customize > Additional CSS (or your theme’s own custom CSS area) to reset the style:

/* Reset theme's table styling inside PetMatchPro */
.pmp-search-results table {
  border: none;
  margin: 0;
  background: transparent;
}

Common Conflicts #

Symptom Likely Cause Fix
Animal cards have unexpected borders or backgrounds Theme styles targeting generic div or card classes Add a more specific PetMatchPro rule to reset the styles
Images are wrong size or cropped Theme’s global img styles Add specific rules for .pmp-search-results img
Fonts or text sizes are wrong Theme’s heading or body text styles Override with PetMatchPro-specific selectors
Colors don’t match your PetMatchPro settings Theme CSS overriding PetMatchPro custom properties Ensure your theme isn’t resetting CSS custom properties
Layout is broken or columns don’t align Theme’s grid or flexbox styles Add .pmp-search-results prefix to your layout fixes

Tip: Avoid !important #

PetMatchPro intentionally avoids !important declarations. We recommend you do the same — it leads to an “escalation war” of competing !important rules that becomes impossible to maintain. Use specificity instead.

Next Steps #

  • Color Customization — Set colors properly through PetMatchPro
  • Theme Template Overrides — Full template customization control
Styling Conflicts ultima modifica: 2026-03-25T19:40:06-04:00 da PetMatchPro
Updated on April 30, 2026

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Stale Content / Cache IssuesEmpty Field Display

Submit a Comment Cancel reply

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

Table of Contents
  • Styling Conflicts
    • How to Identify a CSS Conflict
      • Step 1: Inspect the Element
      • Step 2: Check for Overridden Styles
      • Step 3: Identify the Source
    • PetMatchPro CSS Conventions
    • Fixing Conflicts
      • Method 1: Use WordPress Additional CSS
      • Method 2: Increase CSS Specificity
      • Method 3: Target the Theme CSS
    • Common Conflicts
    • Tip: Avoid !important
    • Next Steps

© Copyright 2018-2026 by PetMatchPro, All Rights Reserved

  • Privacy Policy
  • Terms of Use
  • Disclaimer
  • Login