conditionally update css on edit.php

Your code is badly broken and it is going to be an awkward process to hack the styles in like you are trying to do. It looks like you are using some third part code but assuming that that code uses WP_List_Table as it probably should you can alter the CSS of the rows as … Read more

prevent front end theme from injecting css into wp-admin

Restructure your CSS files and remove !important rules from your .css files and use proper markup (classes, IDs and etc.). e.g. a, .entry-summary a, .entry-content a { color: #06F !important; font-weight: 400; } Judging from the test WS which was found with site: search in Google using the URL in your Facebook profile (Temper Temper). … Read more

Style Radio Buttons inside Edit Page (Custom Fields)

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 … Read more

How to change text size on category pages

You can change admin css with this code to functions.php: add_action(‘admin_head’, ‘my_custom_fonts’); function my_custom_fonts() { echo ‘<style> body.taxonomy-category .row-title,body.taxonomy-category input{ font-family: “Lucida Grande”; font-size: 16px; color: #f04040; } </style>’; } Edit this code as you need.