Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Override bp-default responsive css

  • @mitesh-patel

    Participant

    I am developing locally with wp 3.5, buddypress 1.6.4 and bbpress 2.3.4. I am working with bp-default child theme for modifying some visual and functional aspects of the bp-default theme.

    I have created a three column front-page template in my child theme, thus I need to add additional css declarations to make this template responsive. Now I noticed that responsive.css which declares the css declarations for responsive behavior resides in _inc/css folder in bp-default parent theme.

    So my question is, how do I override the original responsive.css? Do I create a new responsive.css in my theme’s _inc/css folder or child-theme’s root?

Viewing 2 replies - 1 through 2 (of 2 total)
  • @aces

    Participant

    If you want to replace the responsive css with your own, you should be able to disable the default with

    function bbg_enqueue_styles() {
    	remove_theme_support( 'bp-default-responsive' );
    }
    add_action( 'wp_enqueue_scripts', 'bbg_enqueue_styles', 5 );

    For more info see https://buddypress.trac.wordpress.org/ticket/3881#comment:2

    @mitesh-patel

    Participant

    @aces That’s exactly what I needed. Thank you very much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Override bp-default responsive css’ is closed to new replies.
Skip to toolbar