Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adapt the “remove max width in admin” for bbPress

  • @csseur3

    Member

    Hello,

    i want to add at bbPress the 100% width in admin, like this plugin for wordpress:

    So, the code is:

    add_filter('tiny_mce_before_init', 'rmw_tinymce');

    function rmw_tinymce($init){

    $init = true;

    return $init;

    }

    add_action(‘admin_head’,’rmw_head’,99); //Hook late after all css has been done

    function rmw_head(){

    global $is_IE; ?>

    <style type=”text/css” media=”all”>

    .wrap,

    .updated,

    .error,

    .widefat,

    #the-comment-list td.comment {

    max-width: none !important;

    }

    <?php if( $is_IE ){ ?>

    * html #wpbody {

    _width: 99.9% !important;

    }

    <?php } ?>

    </style>

    <?php } ?>

    but not works for bbPress… what can i do for the plugin works?

    bye

Viewing 3 replies - 1 through 3 (of 3 total)
  • @csseur3

    Member

    @chrishajer

    Participant

    You want to remove the max width of the whole admin section? In my installation, the admin section appears to be at max width already (my monitor is at 1280px wide right now.) It doesn’t look like there’s any restriction, unless it shows up at wider than 1280px. Did you look at the css for the admin section?

    ~/bbpress/bb-admin/style.css

    @csseur3

    Member

    I speak about that:

    div.updated,

    div.error,

    div.wrap {

    margin: 0 1.5em;

    max-width: 98em;

    }

    so, i want to add in my plugin the function for put:

    div.updated,

    div.error,

    div.wrap {

    max-width: none !important;

    }

    it’s a little modification but i want to make a plugin for that, and not manually editing the files in bb-admin :)

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