You can use the body’s classes :
body.single-artist #main{
background-color:red;
}
Related Posts:
- FireFox Inspector :: find CSS file related to
- White screen error for a custom theme
- How to override parent theme function through the child theme [closed]
- Single Page WordPress CSS and JS links
- Custom post type and body_class: Remove “blog” class
- Migrating a taxonomy’s tags to the native category
- why post_class() function apply css classes to all other files?
- One Site. One Theme. Multiple Stylesheets without plugins?
- DIVI Theme customizer changes not applied on existing pages and designs are not shown on the front
- Problems with a custom meta_box
- Multiple Block Quotes without using HTML
- how to display custom taxonomies in front page
- REQUIRED: The theme uses the register_post_type() function, which is plugin-territory
- What does this PHP function code mean? [closed]
- How do I append multiple taxonomies to the URL?
- Setting Default Category for Custom Post Type Upon Autosave
- How to add a CSS class to every image in a Custom Post Type
- WP 3.1 – archive pages for custom content types possible now without a plugin?
- Admin Post Update Redirection to Posts Screen
- Why is get_post_format() for “Standard” returns empty
- modify all posts of a category to “no comments allowed”
- Password-protect a custom rss feed
- How to not allow custom roles to edit published custom post types?
- Assign Page Template Within A Custom Post Type
- Custom Taxonomy conditionals
- [Plugin: Posts 2 Posts] Changing display order of connections
- Disable dragging of metaboxes in custom post types?
- How do you use JavaScript to detect the homepage
- Error after deleting Custom Post Type with a function (no trash used)
- How to delete all posts from a custom post type?
- Structure for projects and clients
- Custom Post Type Alerts
- Why is my custom loop not filtering correctly nor paginating?
- Custom post types with custom directories
- Saving repeated option values in a custom query
- I am trying to output portfolio items with a picture. This code doesn’t seem to be working. What am I doing wrong?
- How to customize admin posts based on the user who is logged in
- Custom Post Type | Fatal Error on register_post_type()
- How to post twitter like updates on wordpress
- apply filters only to specific post listing without check the url parameters
- Dynamically add / duplicate custom meta in custom post types
- How can I create a custom meta box to add an mp4 video to a page?
- Custom post type menu missing after 3.0b2 -> 3.1.2 upgrade
- Group posts by custom post type
- Plugin: register custom post types, child ready and performance best practices
- Permalink structure by Post Meta value
- Define new user capability for custom post types?
- How to handle paged param in post and custom-post-type?
- Shortcode to display Staff post type based on Location post type and Specialty post type
- Adding the_content() in custom template email
- How to add attributes to taxonomies that may be different from post to post?
- How does order=asc effect a wp_query (its acting pretty weird in a loop)
- How to sort posts in a custom post type by title in ascending order by default?
- Unable to set featured image
- custom post type vs. conditionally displaying meta boxes for specific terms?
- Custom post types problem
- How to get the current category with custom posts
- Create a simple Testimonial page
- Render a Post or Page using the correct file
- WordPress Count posts within a custom post type
- Custom Post Types and Removing Slugs – should we do it?
- Need to have an archive widget which organizes and displays a custom post type using a custom date field
- Custom Content Type with No Page View
- Custom post type tags not showing in search
- How to list posts by term (custom taxonomy)
- What is the best way to manage small blocks of content on my home page?
- Custom Post Type Implementation
- Related “custom post type” using “custom taxonomy”
- How do I “trash” a custom post type post while logged in as Admin
- How do I disable the built-in editor and automatically configure the properties of new pages?
- How to have multiple search result pages in wordpress with taxonomy terms listed
- Auto update publish date of CPT Post if default post custom field value match to cpt post CF Value
- How to limit the number of custom posts certain users can publish in WordPress using php script?
- Custom page for creating/editing custom post type
- Custom post type not pulling CSS
- What is WordPress Way to Add Content Blocks to Post and Reference them as Many to One Relationship?
- Displaying posts inside table having issues
- Building Link List for Custom Tax
- In the admin, how can you list thumbnails instead of titles for a custom post type?
- Attempting to create custom “post” template, getting a 500 internal server error
- creating a custom post template
- Custom Pagination based on Custom Post Type
- One Post with different content, depending on a Page
- Adding CPT changes entire layout of my site except for the archive of that CPT
- Create 2-layered dropdown menus for custom taxonomy and custom post type
- Custom Post Type
- Registering an optional custom post type from a plugin
- Custom metabox value not saving
- Cannot modify a registered custom post type rewrite slug
- Add Excerpt On Quicksand Plugin
- Select Menu for Custom post Type does not save
- Query by post type or category
- Specifying Default Template for Hierarchal Custom Post Type [duplicate]
- Inserting two categories
- How to delete unnecessary custom post types in the UI
- WordPress custom post type odd and even styling [duplicate]
- Advise on Custom Taxonomies and Structure
- Same slug for Custom Taxonomy archive and CPT archive – Rewrite rule not working
- is therer any wordpress function to retrieve a specific html element from post content
- How to display *block number* instead *date value* on WordPress posts?