Skip to:
Content
Pages
Categories
Search
Top
Bottom

child theme ignored after bbPress install

  • @uschesch

    Participant

    After I activated bbPress in my WordPress site, my child theme styles were ignored – and now WordPress is using only the styles in my theme’s original style.css file. How can I ensure that my child theme styles are applied? I am using WordPress 4.4.2, and i installed bbPress 2.5.8.

    Thank you.

Viewing 10 replies - 1 through 10 (of 10 total)
  • @robin-w

    Moderator

    Not one I’ve heard of before

    So if you deactivate bbpress, do the child theme styles come back?

    @casiepa

    Moderator

    Hi,
    Not sure if 100% related, but if you know a little bit of coding, you can also check this : https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/#6-load%c2%a0the-style-sheet-after-bbpress
    Pascal.

    @uschesch

    Participant

    Hi Robin,

    Yes, when I deactivate the plugin, the child theme styles come back.

    @robin-w

    Moderator

    ok, suggest you follow Pascal’s thoughts

    @robkk

    Moderator

    @uschesch

    Are you using a free theme?? We could test to see if we can duplicate this issue.

    @uschesch

    Participant

    Thank you all for your replies. I did try Pascal’s suggestion, but that did not work. I am using a paid theme: Support Desk.

    @uschesch

    Participant

    Oh, I apologize. I reread Pascal’s suggestion and realized that I did not do one step, which I am assuming is very important. I did not enqueue my style sheet after the code. Unfortunately, I don’t know how to do that.

    @uschesch

    Participant

    Pascal, do you have an example of how I would enqueue my style sheet?

    Thank you!

    @uschesch

    Participant

    Pascal, I found the code to add to enqueue my child style sheet.

    wp_enqueue_style( ‘child-style’, get_stylesheet_uri(), array( ‘parent-style’ ) );

    I added it, and all works well.

    Thank you so very much!

    @casiepa

    Moderator

    You’re welcome !

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.
Skip to toolbar