WordPress.org

Ready to get started?Download WordPress

Forums

Business Directory Plugin
[resolved] Modifying css for child theme (4 posts)

  1. gingram815
    Member
    Posted 1 year ago #

    I'm having trouble getting my modifications to css I'm making in my child theme's style.css to override the wpbusdirman.css of the plugin. What is the proper way of doing this?

    http://wordpress.org/extend/plugins/business-directory-plugin/

  2. businessdirectoryplugin
    Member
    Plugin Author

    Posted 1 year ago #

    We have it on the list to make a formal CSS override mechanism, which will allow you to put your custom changes in, keep them between upgrades, and override the CSS we put in BD. We don't have this yet. So the best thing to do is this:

    - Download a copy of wpbusdirman.css
    - Make mods to it
    - Upload them to your site
    - Test it out
    - If it's all good, save that local copy somewhere you can use for upgrades later
    - Otherwise, go back to step 2.

  3. gingram815
    Member
    Posted 1 year ago #

    Thanks, I got most of it figured out.

  4. CiderJack
    Member
    Posted 1 year ago #

    Looks like the fix you posted on http://businessdirectoryplugin.com/support-forum/faq/how-to-use-custom-styles-with-bd-2-1/#p2682 was made after this, but I believe I may have simplified the process a bit (at least for myself).

    I created the file called wpbdp_custom_style.css in the plugin directory root as suggested, but it only contains one line:
    @import url("../themes/childtheme/wpbdp-style.css");
    ...and then of course I have the file wpbdp-style.css in my childtheme directory.

    Now all my css files are in one directory which I find preferable.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.