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.
Related Posts:
- Give Editor Access To Sidebar
- Enabling jquery when dragging available widget to sidebar area
- Prevent widgets removal
- How to use wp_dequeue_style() for style enqueued in WP_Widget class
- How do I save data from submitted form from widget
- How to listen to color changes on the color picker?
- Insert a span inside widget title to give a different color to the second word
- Role that can edit only widgets, not other theme options
- How can I delete all inactive widgets?
- Reorder dashboard widgets
- Ban certain widgets from certain sidebars
- Big side banners
- Using tabs in admin widgets [closed]
- Customized widget area – how to override or filter class xoxo?
- How to add css classes to widgets using functions.php?
- Multiple users editting widgets
- dynamic_sidebar() returns false in admin section
- Widgets not expanding on wordpress 3.3 widget dashbord
- How to get “Widget Logic” plugin’s input value in a custom widget code (to display on the Widget admin page)
- different class (css) for sidebar widgets
- Hide widget (and white space) on specific resolution [closed]
- Registering a stylesheet inside my WordPress widget
- Grabbing how Many Posts by Month for a Dashboard Widget
- How to change the default class for the widget title?
- Override WordPress Widget CSS Classes?
- How to change color of registered widget areas in admin?
- Add a specific css to a widget
- How to make home widgets appear horizontally
- Header Sidebar Won’t Move Lower – Want to Align with Header Logo [closed]
- Address automatically generated ids in css [closed]
- Custom CSS for a particular text/html widget in WordPress
- Sidebar widgets – dynamic CSS : problem with widget-title
- Adding a single text input field to a custom Dashboard widget
- How to customize wordpress sidebar widget
- Editing Help Section
- Allow users to give a dashboard widget a custom name using ACF
- How to customize WordPress dashboard for different users?
- Creating a simple button inside of a widget
- Reposition the widget sidebar in Appearance->Widgets
- Sidebar widgets are over the content in mobile mode, how can I fix it? [closed]
- Widget text color change
- Handling dozens of sidebars
- Widget Areas Still Appearing in WP ADMIN When They Shouldn’t
- Add custom class to a tags [closed]
- Big side banners
- Creating an custom admin page for editing widgets
- How do I get shortcode, widget and template tag CSS to load in the head only as required? [duplicate]
- Database size Widget
- How to add an image as a bullet point in a specific WordPress widget? [closed]
- Unable to add options on dashboard widget ?
- How to add the “page” post type to Recent Activity widget displayed in admin?
- Programmatically add widgets to sidebars
- What are the standard admin CSS id/class tags?
- WordPress 3.8 – Dashboard 1 Column Screen Options
- Executing Javascript When a Widget is Added in the Backend
- Loading scripts only if a particular shortcode or widget is present
- Limit number of Widgets in Sidebars
- How Can I Add the “Insert From URL” Tab to a Custom 3.5 Media Uploader?
- How to load Widget javascript + css files only if used?
- Disable SSL / HTTPS for wordpress
- Where is the content of widgets stored in mysql table
- Hide specific categories from category widget
- changing wp-admin/widgets.php
- Add class to before_widget from within a custom widget
- How can I use the built in WordPress “browse link” functionality?
- WordPress admin stylesheet
- Is there any way to dynamically alter widget titles?
- This CSS Stuffing Works, But Is This A Good Practice?
- Translate widget titles using qTranslate plugin
- Code for Recent Posts Widget
- Get number of widgets in sidebar
- Text Widget creates a
- Can a widget in the Customizer be “single-use” (i.e. disabled after 1 instance has been added)?
- check if registered sidebar is active & has widget content
- How do I load a CSS style into WordPress admin area only?
- How to edit widgets in WordPress
- How can I target WordPress 3.8 new interface MP6 with CSS?
- dynamically add scripts to WP_Widget widget() method
- Extend WordPress 3.8 Site Activity Dashboard Widget to include more comments
- How to use is_active_widget?
- Get a list of all Widgets registered in WordPress admin widgets-area
- Modifying the default search widget
- Load plugin scripts and styles only on plugin page
- Adding iframe Content to Sidebar Widget
- How Do I Add Custom CSS To Only Certain Widgets
- Get Widget Instance inside Widget
- Show post tags in a widget
- Author template, filter sidebar widgets by author?
- Add the sidebar/widget editor to the post edit screen?
- WordPress 4.8: Using multiple WYSIWYG-Editors with media inside of Widgets how to?
- Does the number of widgets installed affect website performance?
- WP_Widget deprecated error in WordPress V4.3
- What is the quickest way to make a widget?
- How to display custom widget anywhere
- Show Woocommerce minicart widget in checkout page sidebar? And, how to make this update secure by overriding widget?
- Get page IDs based on which template they are using?
- Changes in widget customizer not triggering ‘save and publish’
- Add filter to blogroll widget
- Widget Options Not saving
- Indexes of widgets instances starts with ‘2’ in ‘wp_options’ table