Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a simple question. How to change widget's form color in admin panel of wordpress (on widgets page) to make them more unique? Here is a simple example:

example

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Register/enqueue an admin stylesheet

function my_admin_theme_style() {
    wp_enqueue_style('my-admin-theme', get_template_directory_uri().'/admin-style.css');
}
add_action('admin_enqueue_scripts', 'my_admin_theme_style');

Then add rules of the form

#widget-list div[id*="_archives-"], div[id*="_archives-"] {
  background:red;
}

Consider that proof of concept. I will leave it up to you to target the precise elements you want.

share|improve this answer
    
God damn, that was so easy.. I already forgot how powerful may be sometimes css selectors. Thank, I'm very appreciated, works like a charm! –  user13250 Jun 9 '13 at 19:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.