Skip to:
Content
Pages
Categories
Search
Top
Bottom

Twenty eleven full width


  • pauldlb
    Participant

    @pauldlb

    Hi,

    I don’t know much about CCS and I’d like to change the forum to full width.
    Can you help?
    My site is: danslabande.com

    Thank you!

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

  • u_Oi
    Participant

    @arutam

    Hi @pauldlb

    Try this… Paste the follow code into function.php (Appearance – Editor – Functions.php)

    /* Remove SideBar From bbPress Profiles and Topics*/
    function disable_all_widgets( $sidebars_widgets ) {
    if ( function_exists('is_bbpress') ) {
    if (is_bbpress()) {
    $sidebars_widgets = array(false);
    remove_all_actions('bp_register_widgets');
    unregister_sidebar( 'bp_core_widgets' );
    }
    }
    return $sidebars_widgets;
    }
    add_filter('sidebars_widgets', 'disable_all_widgets', 1, 1);

    pauldlb
    Participant

    @pauldlb

    Sorry Arutam, that didn’t work.
    I pasted it at the end of function.php, that was the idea?
    Or must I have it done on the child version?

    Anyhow it didn’t change a thing.

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar