Hook onto the same action as the genesis header function and kick out your overriding CSS:
function wpse_218701_genesis_header() {
?>
<style>
body.custom-header #header {
background-color: white !important;
}
</style>
<?php
}
add_action( 'genesis_header', 'wpse_218701_genesis_header' );
Related Posts:
- How to add code just below opening body tag in Genesis framework
- Adding ads after a certain number of paragraphs within Genesis themework
- How do I turn a 404 page into an automatic search with the info from the url?
- WordPress Hide Show Content script and activate/deactivate script on screensize
- Genesis menu position change
- Is it possible to roll back to a previous customization of Genesis?
- How can I eliminate the inline styles included by default with the Genesis framewrok?
- Portfolio-template won’t show items
- Move Archive Title to Entry Title – Genesis
- How to remove the Navigation Bar (prim. and sec.) from the Homepage for the Genesis Framework?
- Notice: Undefined variable: thumbnail [closed]
- Issue echoing the site’s title in Genesis child theme
- Passing a Variable to a Function Hooked to Genesis Entry Content
- Genesis loading of html5shiv for IE8
- Multiple loops in Genesis
- How to enable full column width in Genesis layout options
- Genesis framework : how to display the primary sidebar manually?
- How to create and set a separate template file for articles in Genesis framework? (WordPress)
- genesis grid loop only showing one column
- Plugin for user comments, star ratings, badge, activity
- Insert custom metatag in all the internal pages of the site, less in the homepage
- Cropping a thumbnail with a Genesis child theme
- Genesis themes: how do alter the markup of post meta on archive pages? [closed]
- Getting Genesis Entry Headers Back on Post Tiltes
- Genesis page template with Powerpress
- New Genesis child theme or revise current Genesis child theme [closed]
- How to change title “Search Results for:….” in search results page of genesis?
- How to display post title on top of image with Genesis Featured Posts
- How to create a page template that display posts with a certain category in the Genesis Framework?
- Genesis Style Selector causes PHP warning [closed]
- Display current category title on category page
- Undefined offset: 0 in > […] /wp-includes/capabilities.php on line 1067
- Any advantage of using wp_scripts and is_IE when enqueuing scripts
- Genesis – Customize search form
- Adding a search form inside a div
- Modify the post/entry wrapper markup in genesis childtheme [closed]
- Genesis Child and Custom Post Type
- Create a Widget Area in the Navigation Bar for the Genesis Theme Framework?
- Change Genesis Tag from Page Template [closed]
- Using Custom Templates for Custom Post Types for the Genesis Theme Framework?
- Uncaught TypeError: Cannot read property ‘replace’ of undefined
- How to remove an action added by a child theme of Genesis
- Exclude a category from the filed under list
- Display a default image for custom-logo
- Editing or filtering the output of the Genesis navigation
- StudioPress: add meta tag to every page [closed]
- How to add specific menu on a specific page or pages
- htaccess: Remove trailing slash from URL ending with .xml/ only
- Displaying Custom Fields on Post with Genesis Child Theme
- get_post_meta not working inside loop
- How to keep my custom theme changes after updating genesis child theme
- Remove Archive Headline and Archive Intro Text fields on category and tag archive pages in WordPress Admin with Genesis framework
- Removing http:// from esc url() for wordpress customizer code
- Edit/Customize the Single Page of a Genesis Sample Child Theme
- Second nav is merged with the first in mobile
- Unable to show ACF’s Image Custom Field properly in Genesis Framework [closed]
- Pagination difficulty using custom query in genesis-based custom theme
- WordPress Genesis Child Theme Filter divs
- Including Custom Post Type posts in a page template contextually (or should I widget?)
- Custom Blog Post Listing in Genesis Sample Child Theme
- How to modify a title tag in genesis?
- Custom Fields Code not echoing whats in the value field
- Log in link not showing, Comment Issue
- Show featured image next to post-teasers in Genesis Framework?
- PHP loop that selects posts with a particular in-post option
- WordPress Genesis custom taxonomy archive shows 3 repeats of each post
- Custom Post Type Loop throws 500 error when used in widget
- Genesis: How to add content after aside and before the content-sidebar wrap
- add_action and remove_action if custom field exists
- Problem with WordPress query on page using custom fields
- WordPress Genesis not excluding category from blog
- Select full Image Size on widget “Genesis – Featured Posts”
- Back to the basics: What’s so great about a framework?
- How to change the layout of a product page
- How to disable inline css styles generated by Gutenberg editor?
- Display posts from a different website on Genesis Responsive Slider
- wp_enqueue_scripts leads to error
- WP – Genesis – How to get the content of a widget in php? [closed]
- Adding function to Genesis genesis_header [closed]
- Display child pages on parent page: 404 message overrules shortcode in page
- Posting comment returns 404
- Genesis multiple category custom loop 404s after first page
- Conditional menu for registerd users/guests (Genesis framework)
- Need to convert string of term ids into comma separated integers for use in an arguments array
- Optimise page loading time faster on Genesis child theme [closed]
- Derive child theme from separate theme
- if statement for wordpress default featured image on single post
- If you were to start using a WordPress framework today, which one would you use? [closed]
- Turn off “This is the Primary Sidebar Widget Area” message
- How to remove Date from Meta Description on SERP?
- Display video on homepage for users who have not logged in
- Move Genesis Single Page/Single Post Title
- Add an Outside Wrapper to my Header and Make it Full Width
- Insert Ads “into” comments section in Genesis Themework
- Custom Post Types Archives and Single Pages not showing custom taxonomy data
- Custom Post Type on Homepage – Studiopress Genesis Framework
- Show specific category posts on Genesis framework home page
- How to sell an album for download
- get_next_posts_link() returns no result despite available posts
- Use custom template on custom post type