WordPress Business Directory Plugin

  • Features
  • Pricing
  • Blog
  • Support
  • Login
  • Get Started

How to use Custom Styles with BD

Last Updated: October 17, 2020

  1. Home
  2. Knowledge Base
  3. Customizations
  4. How to use Custom Styles with BD

Business Directory can pull styles from a custom CSS file that isn’t overwritten on upgrade. For those with a quirky theme, or the desire to heavily customize BD’s look to match their site, this is great news…

How to use the BD Custom Style CSS file:

1) Create a file called wpbdp_custom_style.css under wp-content/plugins on your site. This location won’t be overwritten by any plugin or WordPress on upgrade. You may also place this file under your theme directory as well.

The plugin is forgiving in locating the file–any of the following names will work for the custom style file, in EITHER location:

– wpbdp_custom_style.css
– wpbdp.css
– wpbusdirman.css
– wpbdp_custom_styles.css
– wpbdm_custom_style.css
– wpbdm_custom_styles.css

That means you should be careful not to have TWO custom files laying around. Pick one place, stick with it! We recommend the wp-content/plugins area as it can’t be overwritten by a theme upgrade.

2) Place any style changes you need in this file. It will be loaded such that these changes will take precedence in the CSS hierarchy over other styles in BD.

How do I know what I want to put in this file?

Good question! Use Firefox Developer Console, Chrome Developer Tools or something similar to determine what styles are being applied to any given element. Once you know what style is causing an issue, you can override it via the custom style CSS file.

Related Articles

  • wpbdp_admin_listing_owner_mode
  • wpbdp_custom_strings
  • wpbdp_region_find_args
  • wpbdp_field_schema_org
  • wpbdp_paid_listing_status
  • wpbdp_get_page_ids

Quick Links

  • Getting Started Guide
  • Knowledge Base
  • Change Log

Build Easy Directory Listings

Our WordPress directory plugin will help you create the online listings website you've been planning. And with our 14-day risk-free trial, there's no reason to wait.
Start earning customers today.

Get Business Directory Now

Resources

  • Blog
  • Contact
  • Video Tutorials
  • Affiliates
  • Best Directory Websites Showcase
  • Demo

Purchase

  • Pricing
  • Business Directory Themes
  • Free Business Directories

Our Brands

  • Formidable Forms
  • AWP Classifieds

Business Directory Plugin for WordPress

Copyright © 2010–2022 Strategy11 LLC
Privacy Policy | Terms of Service | Sitemap

Join 20,000+ using Business Directory Plugin to build website directories fast. Get Started See User Reviews