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
- How can I display custom post types under multiple views?
- How to post twitter like updates on wordpress
- Show Two custom Post type and their posts on category page
- Change post featured image on hover
- How to get all `supports` attributes by post type?
- How to create an advanced filter search?
- Custom search for custom post meta with pre_get_posts interferes with WP search
- Assigning the same custom meta box to multiple post types
- apply filters only to specific post listing without check the url parameters
- Dynamically add / duplicate custom meta in custom post types
- WordPress if in term*
- Setting posts per page in query_posts
- How to insert content from another Custom Post type into Post?
- Get rewrite slug of custom post type in template
- Pre_get_posts filter overwrites all search functionality
- Weird problem happening with custom taxonmy when creating/updating posts
- Placeholder in HTML editor text area?
- Cannot figure out how to center div in WordPress theme [closed]
- ‘Customize’ button in admin bar for CSS
- Deleting Custom Post type data using mySQL command
- How can I create a custom meta box to add an mp4 video to a page?
- Is it possible to place custom post type files inside a folder in theme directory?
- Delete link on single-custom.php with redirection
- How to structure a site with product variations pages?
- how can I change the background color of all posts on my server?
- CPT: if more than X images are in post, use pagination
- Is there a way to have the view link on manage posts page to open in a new window or tab?
- Is it possible to use WordPress as an online portfolio for text content? What kind of theme would I look for?
- Getting rid of /my_custom_post_type/ in the single view URL
- Custom post type menu missing after 3.0b2 -> 3.1.2 upgrade
- Custom Post Type – List all attachments on Edit Screen
- Custom template with CPT doesn’t display on frontend
- Is possible add class for last post of Custom Post Type?
- Group posts by custom post type
- Custom Page that comes with preloaded content for the user
- How inefficient is it to use a Custom Post for 4-5 sentences & pull all to 1 page?
- Create a wordpress test-system as a clone from productive system
- How to check post type (to include custom css)
- How to customize a permalink (URL) structure?
- Plugin: register custom post types, child ready and performance best practices
- Display only one post each WEEK
- How to Mass Delete Images from Media Library
- Get term name and term parent into custom post type permalink
- Customize my custom taxonomy table in Admin panel
- Permalink structure by Post Meta value
- How to integrate video slide using custom post types?
- A question on creating filters for custom posts using taxonomy
- Conditional Query of Custom Post Type and custom taxonomy
- will post_id ever change? Can I safely use post_id for custom queries?
- List custom taxonomy specific to one custom post type
- Define new user capability for custom post types?
- How to allow visitors to enter custom post type?
- Is it possible to create relational metabox values in a custom post?
- Custom Post Type Query for Sidebar Doesn’t Work on Front Page
- Meta query for custom post type ignored in main query
- 2 Templates 1 custom post type according url
- How do I move/order posts with a tag to the end?
- changing meta value and meta key of price field
- WordPress sort search results by custom order
- Use same slug base for Custom Post Type posts, and multiple taxonomy terms
- Hide parent categories when clicked, and show it’s childs
- Custom Path/Folder behind a custom post type
- Time based access control of custom post types – what is good approach?
- Show titles, date of all posts on single category page
- delete_published_posts does not work
- How to start a new post with custom Taxonomies already set?
- WooCommerce sort products by the actual product width(not the shipping width)
- Create a custom php page and load it at a specific slug
- Structure of data : CPT + terms
- How to handle paged param in post and custom-post-type?
- Default text in a specific post type, but not visible?
- Update postmeta Parent when post_status child change
- What is the best practice for displaying my plugin content in themes?
- How to Create Columns with WordPress and CPTUI display page ?
- WP_Query custom post type query not showing the exact post type
- Shortcode to display Staff post type based on Location post type and Specialty post type
- How to remove post listing page for a custom post type
- How to include term custom meta into the custom taxonomy term permalink structure
- How to Get WordPress custom post data in WooCommerce product meta panel? [closed]
- A form that can save/edit after first input
- Adding the_content() in custom template email
- Cannot save CPT meta box
- non-hierarchical post type with hierarchical url structure
- Send notification to the admin when new custom post is submitted
- How do i search authors from search form using author’s name
- Allow users to create posts without logging in?
- How to add attributes to taxonomies that may be different from post to post?