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?
- 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?
- 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
- Custom Dashboard Home Screen Options
- 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
- How to display post title & excerpt when mouse hovers on an image?
- how can I change the background color of all posts on my server?
- list/consult Taxonomy only for the respective author/creator in dashbboard
- CSS to remove “comments count” icon from main page [closed]
- Loop through custom fields with similar label / common chars in label
- TwentyFifteen: How can it show a different color on every post page?
- Allow non-admins to access the Customize theme page
- CPT Loop with ACF and passing ID between Loops
- How to change popular term checklist title when edit post?
- Is it possible to add a ribbon in the background of h1 on every page?
- Child Theme with multiple css files
- 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?
- 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?
- Get users based on month ACF datepicker field
- add custom content to appearance/widgets screen
- Good way to customize admin CSS?
- 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]
- Customizing admin look and feel for just one particular type of user
- 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?
- 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?
- custom email validation using javascript api with elementor pro and code snippets
- why won’t my custom css load with the enqueue method or any other method?
- Add admin page for specific post status (for example)
- Query Product categories what have a custom field
- ACF unable to use user field
- 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
- How do I make elements in mobile only reverse order?
- Upload advanced custom field text link array with csv
- How can I delete the word `Category:` from page titles? [duplicate]
- How to have different background image based on post category
- How replace theme styles?
- POST 429 Error when trying to place more than 20 images into post at once
- Figuring out how to create “Option Pages” in WordPress admin
- How do I target this page specifically?
- How do I change the content of an element for a theme without losing the styling?
- In the admin, how can you list thumbnails instead of titles for a custom post type?
- I can’t override CSS
- Two color in one Heading
- Custom Admin Section
- WordPress Inline Style missing
- How to echo custom styles in css format?
- Background setting isn’t applied to entire sidebar height
- Changing a setting in the wp-admin/customize.php reverts CSS styles to parent theme [closed]
- ACF Shortcode bringing in my shortcode is adding unnecessary line breaks
- Adding css and js to a blank page created with custom template
- custom css in admin panel by user id
- Will too many overridden css rules lead to performance issues
- Making custom pages (with an example to explain the goal)
- theme injecting css into wp-admin
- Edit image alignment in WordPress twentysixteen child theme on attachment page [closed]
- adding new html css to wordpress section from codepen [closed]
- use another theme for just one page
- Instead of Custom CSS Theme CSS is loading
- Prevent posts from being published if the ‘Uncategorized’-category or no category is selected
- How do I add custom CSS animations for specific Gutenberg blocks?
- Cannot add custom css in site
- Custom CSS working on home page but not on NEW created PAGE
- Post interior margin in twenty eleven theme
- Disable all Fonts that are Standard in WordPress and replacing them with a custom Font?
- Modifying posts based on category in TwentyTwentyTwo theme
- How to display product variations on same row