Skip to:
Content
Pages
Categories
Search
Top
Bottom

Mobile version

  • Avatar of hkcharlie
    hkcharlie
    Participant

    @hkcharlie

    I think it’s since upgrading to WP3.5, but my buddypress on a mobile device is some poorly attempted mobile version that doesn’t actually work.

    Is there any way to turn this off, or does anyone else have this problem?

     

Viewing 5 replies - 1 through 5 (of 5 total)
  • Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    What theme are you using?

    Avatar of hkcharlie
    hkcharlie
    Participant

    @hkcharlie

    Buddypress default theme.

    Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

    If you want to turn off the responsive css

    function bp_head_action() {
    remove_theme_support( ‘bp-default-responsive’ );
    }
    add_action( ‘bp_head’, ‘bp_head_action’);

    Avatar of hkcharlie
    hkcharlie
    Participant

    @hkcharlie

    Thank you !

    Do I need to add this to the functions.php?

    Or

    Can I add “//” to “add theme support ….”:

    // Add responsive layout support to bp-default without forcing child

    // themes to inherit it if they don’t want to

    add_theme_support( ‘bp-default-responsive’ );

     

    (Which is what Ive done and it seems to work)

    Will this have other implications?

    Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

    functions.php is the proper place for code that affects the theme

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.