[buddypress-trac] [BuddyPress] #4961: Overriding CSS in plugin doesn't seem to work
buddypress-trac
noreply at wordpress.org
Mon Apr 29 11:45:23 UTC 2013
#4961: Overriding CSS in plugin doesn't seem to work
-------------------------+------------------------------
Reporter: karmatosed | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Core | Version:
Severity: normal | Resolution: invalid
Keywords: |
-------------------------+------------------------------
Changes (by boonebgorges):
* status: new => closed
* resolution: => invalid
Comment:
I recommend using `wp_dequeue_style()`, as you initially suggest. If it's
"not taking" due to load order issues, then hook it later:
{{{
function bp4961_dequeue_style() {
wp_dequeue_style( 'bp-legacy-css' );
}
add_action( 'bp_enqueue_scripts', 'bp4961_dequeue_style', 20 ); // Loads
after theme compat has enqueued
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4961#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list