Site logo

Archived topic

How to remove the added inline css for overriding "bbp style pack"

1 reply · Started by Maria Cecilia on March 13, 2020

Viewing posts 1–2 of 2

Hi,
In the file inc/plugin-compat.php it adds inline css to override the css settings done by the plugin "bbp style pack". It uses the following call:
add_action( 'wp_enqueue_scripts', 'generate_bbpress_css', 100 );
I tried adding the following to the functions.php in my child theme but it didn't work:
remove_action( 'wp_enqueue_scripts', 'generate_bbpress_css');
How can I remove this action?

Hi there,

Try this:

remove_action( 'wp_enqueue_scripts', 'generate_bbpress_css', 100 );

Let me know :)

This archived topic is closed to new replies.