Add your styles to /your-theme/admin-edit-post.css
.inside ul.acf-radio-list.radio.horizontal li label {
/* styles... */
}
Then enqueue the styles by adding this to your theme’s functions.php
:
function wpse250000_admin_styles( $hook ) {
// Bail if we're not on the post.php admin page
if ( 'post.php' !== $hook ) {
return;
}
// Ensure we're looking at a post. Add other post types to array if desired.
$post_type = get_post_type();
if ( ! $post_type || ! in_array( $post_type, [ 'post' ] ) ) {
return;
}
wp_enqueue_style( 'admin-edit-post-styles', get_template_directory_uri() . '/admin-edit-post.css' );
}
add_action( 'admin_enqueue_scripts', 'wpse250000_admin_styles' );
Related Posts:
- how to add custom css and js on wordpress post editor directly without using .php file
- How to remove admin menu pages inserted by plugins?
- Where are Additional CSS files stored
- How to include own css on wordpress tinymce editor?
- Making Custom Fields Standard in the Admin UI
- How to customize the default HTML for WordPress Attachments
- Custom ReCaptcha Login
- Creating my own Admin Forms in a WordPress CMS?
- Is it possible to change the attributes of a registered style or script before it fires?
- How to make custom bulk actions work on the media/upload page?
- Removing fields from the Media Uploader/Gallery
- deleted users still show in count?
- FireFox Inspector :: find CSS file related to
- How to build custom WP admin with custom URLs
- Custom CSS for full post vs. excerpt (Content Options)
- Redirect members to custom page upon logging in through WP admin
- Custom protected password page with ACF
- Changing Gutenberg / WP block editor width only on pages, not posts or other taxonomies
- Custom Dashboard Home Screen Options
- Add a page that appears in the backend admin that lists files to download? WP 3.3
- Adding “Interesting Tags” & “Ignored Tags” like StackOverflow.com in a WordPress Blog?
- How to get WordPress to accept the tag in articles (or other alternatives)
- How do I change the default admin color scheme in MP6
- Custom column sorting in WordPress admin post table
- How to remove padding and margin between divi rows? [closed]
- What will happen to the additional CSS when the theme is updated?
- How to display post title & excerpt when mouse hovers on an image?
- Include user defined styles without including wp-load
- Hide custom field if empty
- Cannot figure out how to center div in WordPress theme [closed]
- Customizing default Mediaelement player
- Extend Screen Options
- Admin Panel – Custom Menu Sub-Item LINK
- how can I change the background color of all posts on my server?
- list/consult Taxonomy only for the respective author/creator in dashbboard
- Adding custom styles to dropdown in editor
- CSS to remove “comments count” icon from main page [closed]
- Loop through custom fields with similar label / common chars in label
- Advanced Custom Fields: Sorting custom columns with custom fields sorts only by date
- How to customize core admin pages within a theme?
- TwentyFifteen: How can it show a different color on every post page?
- Allow non-admins to access the Customize theme page
- Adding code to child’s theme css and php cannot override certain elements
- CPT Loop with ACF and passing ID between Loops
- How to change popular term checklist title when edit post?
- WordPress customizer Preview not loading
- Is it possible to add a ribbon in the background of h1 on every page?
- Resizing of a header/div in a website through css in wordpress [closed]
- How to apply a CSS file to my admin pages?
- Child Theme with multiple css files
- How to use default WP form elements to interact with custom DB table?
- CSS Customizations for certain page
- Redirect to another page using contact form 7? [closed]
- What requirements for ACF custom fields key and name properties?
- Custom CSS at Appearance > Edit CSS is missing after update [closed]
- Extend WordPress Core Classes in OOP Theme?
- CSS Styling a specific page
- How to remove footer from just homepage
- Why the css in twenteenfourteen-child theme take no effect?
- How to format text of site subtitle
- Customizing Users in Admin Area
- how to add custom logo to my template
- Custom Columns WordPress Admin
- WordPress noob, assign custom stylesheet using @import or if? Didn’t work for me
- Restrict Viewing of post on both front and backend?
- str_replace inside specific css files [closed]
- Get users based on month ACF datepicker field
- add custom content to appearance/widgets screen
- Good way to customize admin CSS?
- How to create “custom page types” with different custom fields in them?
- css media query question [closed]
- How to customize the WordPress 2014 theme, to have page using less horizontal margin?
- theme customizer – can a single option pass multiple values?
- How to remove admin menu pages inserted by plugins and themes in the top admin bar?
- Remove header title form page through CSS [closed]
- Media Upload not working after hiding some elements from functions.php
- Centering one product on a single page [closed]
- How To Style Links in Content Area With Tag Automatically?
- Customizing admin look and feel for just one particular type of user
- Inline-Table under TwentyTwelve not working
- custom css and javascript not working on page defined as template?
- WordPress menu: How to make www.link.com/#name never contain current_page_item class?
- ACF Gut block broke wordpress default style?
- Open login logo URL in new tab
- Change admin_title of a plugin using code snippet/functions
- How to add Custom Css within the Editor?
- Will WordPress updates remove Gutenberg Additional Classes?
- WordPress Sudden Loss of All CSS And Tons of JQuery Errors
- Custom CSS Nav Menu Style Not Being Applied
- custom email validation using javascript api with elementor pro and code snippets
- Style WooCommerce Product Search Widget
- why won’t my custom css load with the enqueue method or any other method?
- Delete a column in edit.php generated with a plugin
- Add admin page for specific post status (for example)
- Query Product categories what have a custom field
- ACF unable to use user field
- Use Theme CSS in custom code
- How to show Term ID beside Name Category with wp_dropdown_categories()
- How to create custom backend admin menu in different languages?
- How can I style the Comment Section of a blog post