In WordPress 3.5, this hook works for me:
add_action( 'print_media_templates', 'wpse_75746_print_style_35' );
function wpse_75746_print_style_35()
{
?>
<style>
.media-modal-content, .media-sidebar {
background: #FFF2D4 !important;
}
</style>
<?php
}
In 3.4.2, this is the one:
add_action( 'admin_print_styles-media-upload-popup', 'wpse_75746_print_style_342' );
function wpse_75746_print_style_342()
{
?>
<style>
#media-upload {
background: #FFF2D4 !important;
}
</style>
<?php
}
Related Posts:
- Making an iframe responsive
- Responsive iframe with max width and height
- Iframe’s overflow problem
- Is there a hook to put stylesheet and/or JS inside iframes (thickbox or tinyMCE) in admin area
- WordPress Register Style Called Incorrectly
- How can I remove css from a child theme?
- Set Image width=’x%’ (percentage width not pixel width) when inserted via the media manager?
- Set 3 iframes in a row
- Dequeue styles with query doesn’t work
- Desktop is class List and Mobile is class Grid
- How to display javascript banner in website header?
- Which hook to use to add notification message at beginning of my
- How to remove audio player styles added by mediaelement.js JavaScript?
- What is the difference among col-lg-*, col-md-* and col-sm-* in Bootstrap?
- Vertically align text within a div
- create a white rgba / CSS3
- How to align iframe always in the center
- Insert image after each list item
- In CSS what is the difference between “.” and “#” when declaring a set of styles? [duplicate]
- How to completely remove borders from HTML table
- How to fix a footer overlapping content?
- What is element.style and why is it overriding my css settings?
- What’s the HTML to have a horizontal space between two objects?
- HTML/CSS float: left; is not working properly
- CSS Div width percentage and padding without breaking layout
- CSS div width not working
- What does the “~” (tilde/squiggle/twiddle) CSS selector mean?
- CSS background-image – What is the correct usage?
- Set bootstrap modal body height by percentage
- Click through div to underlying elements
- How can I fill a div with an image while keeping it proportional?
- Inner glow effect of button
- Remove top admin bar
- How to add a class to ul tags created by the WordPress editor Tinymce?
- wp.media add context
- How to make float element in tinymce
- How to add 10 different css class to posts
- Can “ and “ tags be used in the HTML editor?
- Is there a default style.css
- What filter should I use to insert a button inside on Media>Add New
- How to get a value for admin css color either gray or blue
- Change color of audio player depending on user role
- How can I use PurifyCSS to clean WordPress style.css?
- WordPress CSS doesn’t update
- Dynamic sidebar nav with current page highlighting
- how to setup content on a static frontpage with css and xhtml
- wp_enqueue_style – CSS Not loading – ERR_TOO_MANY_REDIRECTS [closed]
- Help with child theme enqueuing additional css files
- Why does my caroussel gallery do this in responsive? [CSS] [closed]
- Website CSS not loading [closed]
- Custom styles dropdown in TinyMCE editor – not working with headings
- Load CSS in footer, like your can with JS?
- Correct Way To Make Changes To A WordPress Theme
- Move Sidebar from Above Content To Below When Responsive [closed]
- How to deal with logo color on dark mode?
- Header background image just stopped working
- HTML email sent with wp_mail shows plain text
- Add second background-image on hover
- CSS getting injected into index from somewhere after theme/custom CSS is loaded, overriding all of my CSS [closed]
- How do I change the style of just a part of the tagline?
- Having a hard time linking my css and JS files on a Boostrap to WP conversion
- Reduce font size [closed]
- Using css class selectors on a specifc page [closed]
- How can I force the WordPress visual editor to preserve the line breaks after paragraphs?
- WordPress Rest Api access the header and extract stylesheets URL
- How to create CSS Counters for Comments (depth 5)?
- Override All CSS with Custom CSS on a Page by Page Basis
- padding not working
- Hide Some Fields of Post Submit box
- Navbar bg to overflow to section below (updated)
- Add an attribute to the root from functions.php with add_filter
- Add top parent page id to body class
- New Styles Not Rendering On Mobile Phone and Tablet
- Set different css stylesheet for specific pages [duplicate]
- Include ElementorPro css into WordPress custom page
- Customizing the CSS for the post/page editor?
- My Child Theme CSS Isn’t Working
- current menu item hover not working?
- how to load basic wordpress css
- Generate links on all images in posts – is there a hook?
- Add class when more page is visited
- How do I make a child theme’s style.css load after plugin css?
- WordPress – Portfolio – Change number of items in a row
- Floated element floats into post content in IE, Safari, and Chrome
- How can I pass a variable from PHP to LESS?
- Large Unwanted Space at the Bottom of Blog Posts [closed]
- Create a body div using CSS [closed]
- Managing large CSS files [closed]
- How would I use a media query to make my entire theme responsive or fluid? [closed]
- Clear white line off page [closed]
- Strange symbols on page [closed]
- background changed after WordPress update
- How to make this splash page responsive
- Menu is not styled properly and footer as well [closed]
- Footer in middle of page in different browers [closed]
- How do I add JS and CSS to WP (Flatsome)
- How enqueue CSS out of theme folder?
- Styling not refreshing for old visitors on WordPress
- Import css file from node_modules using @wordpress/scripts
- What is unsafe about this CSS?