WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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.