Forums

[closed] What css do i need for the admin widget page (2 posts)

  1. Pete
    Member
    Posted 7 months ago #

    I'd like to make some css changes to the widget page. In particular i want to apply {display: none;} to the active widget area (not the inactive widget area).

    Any help appreciated

  2. Pete
    Member
    Posted 7 months ago #

    the css changes apply to the colors-fresh.css in the core admin css folder... not sure how i can apply this?

    I've tried this but to no avail

    // custom admin css
    function custom_colors() {
    global $user_level;
    if ($user_level != '10' ) {
    echo '<style type="text/css">
    #available-widgets .widget-holder{background-color:#fcfcfc;border-color:#dfdfdf;display:none;}
    		 </style>';
       }
    }
    
    add_action('admin_head', 'custom_colors');

    [duplicate: http://wordpress.org/support/topic/css-changes-to-widget-area?replies=3 - topic closed]

Topic Closed

This topic has been closed to new replies.

About this Topic