Like the front-end in WordPress, the admin pages have various css classes added to the <body>
tag.
You could use:
body.post_type-page .fun-stuff-here {
color:aqua;
}
Keep your action the same – the CSS will be loaded everywhere on admin, but only becomes relevant in the Pages
section.
(There’s a post_type-...
for each.)
Related Posts:
- Check if wp-login is current page
- Conditional tag to check if ‘page.php’ is being used?
- Can I display the widget admin in the page admin?
- Change admin startpage to Pages-page?
- How do I load custom scripts and styles for a page?
- Only allow new subpages to be created
- What are the options for running custom css and javascript files on a page?
- Is there a way to remove or hide individual pages on the Edit Pages screen?
- How to disable Page Attributes dropdown in wp-admin
- How to change redirect after moving a page to trash?
- wordpress with many custom styled static pages
- Dashboard–> All Pages “How to create folders?”
- How to make certain page templates visible to admin only
- Add a Menu Link (to a WordPress Page) in the Admin Menu/Sidebar
- Remove pages from backend list *and* update counter accordingly
- Edit page’s “Restore the backup” link does nothing
- conditional tags- how to use with shortcodes
- Missing ‘Page Attributes’ in page edit
- Admin pages, edit notes of the title of posts and pages
- Can’t locate a hidden private page
- Role – edit page but not publish
- Adding Page URL to the Pages Admin Table
- Google Analytics tracking code on just one page?
- Add external css to Contact Page
- External stylesheet per page
- How to use is_admin in page content?
- Adding a Calculator to a WordPress Page
- Prioritize visible content – Page speed issue on Google insights
- Change a Page’s Header Image
- Styling Previous/Next Pages differently from Index
- Change page name in admin list
- logout redirect only from admin page
- Is it possible to restrict access to specific pages in the admin area based on the page slug?
- Different css file not working for the page template I created
- Show content if page is a grandchild of top level page
- Publish page by invoking submit via jQuery
- Multiple Loops That Pull Pages (Child/Grandchild) While Styling the First Entry
- accessing the Admin page
- remove “Edit” from select pages
- Set different heights per screen size with inline styles CSS into the ‘Text’ section of a Page
- WordPress default theme cannot get full page on entry content div
- How can a .css file be applied to a virtual page?
- Converting HTML to WordPress theme: integrating pages function and using its text editor, conditional enqueuing
- Blank white space where header was [closed]
- Search Page: activate html code if the tag is on the page
- Displaying Content Only in Certain Page IDs Not Working
- Group Pages based on Parent in Admin Area
- disable trashability for certain pages
- Custom admin menu for a selection of pages
- CSS Styling for a Page/ Site made with Pagelines
- How to align bold,italic and underline in wp-admin?
- How to access variables from one plugin in another
- Edit the text location of a form
- custom css in one page
- How to make a secondary Pages Screen
- Remove element from admin page editing part
- how to update page without reloading the page builder?
- Add infinite scroll to content splitted post
- What are the standard admin CSS id/class tags?
- How to get current page ID outside the loop?
- Contact Form on WordPress Sites?
- Page returns 404 with POST variables, but not without
- Custom templates not showing up in template dropdown
- How to determine whether we are in add New page/post/CPT or in edit page/post/CPT in wordpress admin?
- Get page id by template
- Using pre_get_posts on true pages and static front pages
- Get the content of a specific page (by ID)
- How to get page title with the page ID?
- Show more than 20 items in pages or posts edit dashboard
- Allowing user to edit only certain pages
- How to display last 3 posts (recent posts) in a static page?
- How to give paged links custom title?
- How to set post slug when using wp_insert_post();?
- How can I keep the content of my pages version controlled?
- How to load javascript on custom page template?
- Disable SSL / HTTPS for wordpress
- How to configure WordPress to handle 75,000 pages?
- How to update page status from publish to draft and draft to publish
- Check if is on child-page of a particular page
- Change page template programmatically ?
- Customizing the URLs of WordPress Login and Sign-up Pages?
- How to disable posts and use pages only
- featured image as background image on pages
- Check IF is a “single product page” and Check the “role” for a Redirect
- A check for if is parent page, if has children, if has grandchildren
- How to display by default only published posts/pages in the admin area?
- WordPress admin stylesheet
- This CSS Stuffing Works, But Is This A Good Practice?
- How to load JS and CSS only on specific Pages using is_page()?
- Listing pages which uses specific template [duplicate]
- Proper way to get page content
- Access the same page from multiple urls (wildcard)
- Create a page without adding a page in the Database
- Is there a way to change the default page template selection?
- Can I have two child pages of different parents with the same name?
- What methods to use to create small, editable pieces of text for static pages?
- Show Default Editor on Blog Page ( Administration Panel )
- Hide page visual editor if certain template is selected?
- How do I load a CSS style into WordPress admin area only?
- What is the difference between $paged and $page?