[buddypress-trac] [BuddyPress] #3881: Add a check under the Settings menu to disable responsive CSS
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Sat Dec 24 15:47:30 UTC 2011
#3881: Add a check under the Settings menu to disable responsive CSS
--------------------------+-------------------------
Reporter: modemlooper | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: UX/UI | Version:
Severity: normal | Resolution: worksforme
Keywords: |
--------------------------+-------------------------
Changes (by boonebgorges):
* status: new => closed
* resolution: => worksforme
* milestone: Awaiting Review =>
Comment:
remove_theme_support( 'bp-default-responsive' ) works fine, as long as you
are sure to call it *after* bp-default registers theme support
(after_setup_theme, 10) and *before* the stylesheet is enqueued
(wp_enqueue_styles, 10). For instance, the following works:
{{{
function bbg_enqueue_styles() {
remove_theme_support( 'bp-default-responsive' );
}
add_action( 'wp_enqueue_scripts', 'bbg_enqueue_styles', 5 );
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3881#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list