FRAMEWORK-LEVEL FIX APPLIED
This is the proper solution – not CSS patches. The PHP code below should be added to the child theme functions.php:
';
}
add_action('blocksy:header:render:after', 'sa_add_spectrum_bar', 20);
// Remove any CSS that might be trying to patch hide the banner
function sa_clean_emergency_css() {
// Remove the emergency CSS posts since we're fixing this properly
$emergency_posts = get_posts(array(
'post_type' => 'post',
'meta_query' => array(
array(
'key' => 'post_title',
'value' => 'EMERGENCY FIX',
'compare' => 'LIKE'
)
),
'post_status' => 'publish'
));
foreach ($emergency_posts as $post) {
wp_update_post(array(
'ID' => $post->ID,
'post_status' => 'draft'
));
}
}
add_action('admin_init', 'sa_clean_emergency_css');
?>