Support » Plugin: Adminimize » Change Admin Width by logged in Role?

  • Resolved ViennaMex


    Great Plugin that is working in 3.5.1.

    Frank, is it possible to ATTACH extra CSS modifications to your plugin?

    NOT to HIDE, but to CHANGE things according to the Role?

    In my case I am using a separate simple plugin “Fixed Width Admin” to remove the “elastic” 100% width for the Admin pages themselves. The CSS file in this folder can be used to change the WP Admin page width to 960 pixels so that it conforms to a theme width I am using.

    However, it would be HANDY to use Adminimize to confine extra CSS settings to not just hide, but to change visible page components ACCORDING TO ROLE.

    I would like the AUTHOR role that I set with Adminimize to change the WP Admin to a fixed pixel width ONLY for the Users who log in with the AUTHOR role.

    Is there a place I can doctor Adminimize for a Conditional page width according to Role?

    Thanks for remarks.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Now I see WHY the Capability to address CSS and modify it is NECESSARY with your plugin!

    Adminimize rewrites the page code with its own INLINE redefinitions.

    #mw_adminimize_admin_bar {
    left: 0px;
    right: 0px;
    height: 33px;
    z-index: 999;
    border-bottom: 1px solid rgb(223, 223, 223);

    #mw_adminimize_admin_bar #mw_adminimize_login {
    padding: 8px 15px 0px 0px;
    display: block;
    float: right;

    Using Adminimize now means that things like this example have to be REDEFINED if for instance I want to make the LOGIN “FLOAT: LEFT”

    All of the settings are in arrays in the wp_options table which are hard to read separately. And I would have to write changes directly into a huge array in the database field itself.

    Adminimize needs to allow a way for its new inline #mw_adminimize_ prefix revision to have its own CSS definitions editable.

    Adminimize is very good at “taking away” and hiding but it creates a need for me to modify the things that ARE visible when I want to adjust the CSS that is now linked to all of the #mw_adminimize_ rewrites that Adminimize installs.

    Plugin Author Frank Bueltge


    No, you can only add id or class for hide this markup.
    Your requirements is better in a custom plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change Admin Width by logged in Role?’ is closed to new replies.