This is a simple drop-in that modifies the behavior of the Header Cover Featured Image setting. By enabling this drop-in, the featured image you set will blend the background photo into both the header and headline block area.
What the default Header Cover setting looks like:

...and this is what the drop-in modifies it to look like:

Pretty big difference! At some point, maybe as soon as MD4.8, this will be a built-in feature and this Drop-in no longer needed. I thought this would be useful for some of you in the meantime.
DROP-IN INSTALLATION INSTRUCTIONS
1) First, make sure your site is running the MD child theme (you can download the MD starter theme from your account)
2) Download the Drop-in file below:
View attachment header-cover.php
3) Upload the file into your child theme folder via FTP, preferably into a /dropins/ folder (for organization reasons), but you can upload it anywhere
4) Assuming you uploaded the file into the /dropins/ folder (create one if you haven't already), add this line anywhere in your functions.php file, then save and upload:
include_once( get_stylesheet_directory() . '/dropins/header-cover.php' );
5) Finally, add the following CSS to your style.css file to make your header logo and menu text and links white:
.has-header-cover .header {
background-color: transparent;
color: #fff;
}
.has-header-cover .header .logo a,
.has-header-cover .header .tagline,
.has-header-cover .header .menu > .menu-item > a > .menu-item-title,
.has-header-cover .featured-image .headline,
.has-header-cover .featured-image .byline {
color: #fff;
}
.has-header-cover .featured-image .byline a {
border-bottom-color: #ddd;
color: #ddd;
}
@media all and (max-width: 900px) {
.has-header-cover .header .sub-menu .menu-item-title {
color: #fff;
}
}
After that, any post or page you have already made a header cover will adapt to the new layout.

What the default Header Cover setting looks like:

...and this is what the drop-in modifies it to look like:

Pretty big difference! At some point, maybe as soon as MD4.8, this will be a built-in feature and this Drop-in no longer needed. I thought this would be useful for some of you in the meantime.
DROP-IN INSTALLATION INSTRUCTIONS
1) First, make sure your site is running the MD child theme (you can download the MD starter theme from your account)
2) Download the Drop-in file below:
View attachment header-cover.php
3) Upload the file into your child theme folder via FTP, preferably into a /dropins/ folder (for organization reasons), but you can upload it anywhere
4) Assuming you uploaded the file into the /dropins/ folder (create one if you haven't already), add this line anywhere in your functions.php file, then save and upload:
include_once( get_stylesheet_directory() . '/dropins/header-cover.php' );
5) Finally, add the following CSS to your style.css file to make your header logo and menu text and links white:
.has-header-cover .header {
background-color: transparent;
color: #fff;
}
.has-header-cover .header .logo a,
.has-header-cover .header .tagline,
.has-header-cover .header .menu > .menu-item > a > .menu-item-title,
.has-header-cover .featured-image .headline,
.has-header-cover .featured-image .byline {
color: #fff;
}
.has-header-cover .featured-image .byline a {
border-bottom-color: #ddd;
color: #ddd;
}
@media all and (max-width: 900px) {
.has-header-cover .header .sub-menu .menu-item-title {
color: #fff;
}
}
After that, any post or page you have already made a header cover will adapt to the new layout.

Last edited by a moderator: