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
- Get Widget Instance inside Widget
- Add the sidebar/widget editor to the post edit screen?
- How to fix admin stylesheet muck-up? [closed]
- Remove before_widget / after_widget content from Wp_Widget_Text
- Override custom menu widget
- Need help adding additional controls to a custom widget Part 2
- How to add the widgets manually to the sidebar?
- Unable to save widget contents
- Use wp_enqueue_style based on user option in widget
- Moving comments section to left of content (Twenty Thirteen)
- Custom Tag Cloud widget missing tags
- Admin Dashboard with Custom Tab for Client
- How to add new sidebar widget area to child theme?
- Uses Cases for the Calendar Widget
- Problem with widgets
- How to make multi -column, interesting home page in Weaver 2010?
- Missing sidebar parameter “fix” – before_content
- Widgets missing after update
- Dashboard Widgets – Add Admin Page With Same Functionality
- Help with custom widget options! (saving checkbox option)
- How to filter products using filter products by attribute widget and OR logic between different product attribute types?
- wp_get_attachment_image() not displaying post images even though wp_get_attachment_url() echo correct urls
- what is the best way to add things to a side bar
- Disable a plugin’s widget
- Trying to filter tag cloud args, but it removes the wrapper
- How to add custom tinymce plugin to new text widget
- What widgets are used on a page? [closed]
- Twenty Twelve Widget Taking Space
- Conditional widget_form_callback
- Issue with checked() echoing on to page
- How to decorate WP_Widget_Text?
- After adding widget the style is messing up
- Siderbar implementation with collapsible bootstrap cards
- Simple SCript Not Displayed in WIdth
- Where to add a widget class?
- Active Sidebar Conditional Question?
- Paginate recent posts widget
- Widget front-end fails to echo as expected from checkbox
- Help me tidy up my widget code
- Neaten content — different widget or CSS change?
- Custom widget breaking widget section in admin menu
- Unique widget id in sidebar
- How to delete Jetpack Widgets from the Widgets page in admin panel [closed]
- How can I order the “Woocommerce Products Widget” by the sales date? [closed]
- Widget does not work with WooCommerce enabled
- Content expands beyond its column container [closed]
- How can I add a toggle element into an image box element? [closed]
- getBlockVariations(…) is undefined in Widget and Template Part editors but not Post Editor