Skip to:

Opened 13 years ago

Closed 13 years ago

Last modified 8 years ago

#3881 closed defect (bug) (worksforme)

Add a check under the Settings menu to disable responsive CSS

Reported by: modemlooper's profile modemlooper Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Core Keywords:


Title says it all, responsive CSS breaks down when you star creating a child theme.

Change History (3)

#1 @modemlooper
13 years ago

  • Type changed from enhancement to defect (bug)

Just saw - current_theme_supports( 'bp-default-responsive' )

I guess this is a bug because it's not working and adding the responsive CSS. I tried remove_theme_support but it did nothing

#2 @boonebgorges
13 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

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 );

#3 @DJPaul
8 years ago

  • Component changed from General - UX/UI to Core
Note: See TracTickets for help on using tickets.