Did you try to control this with a function?
And did it stop working recently and is now only showing a blacked out area?
Did you use the hook ocean_page_header_background_image and the function as posted in the OceanWP docs?
Well… Just change your script to give back the image ID instead of the URL:
if ( is_singular( 'post' ) ) {
// $bg_img = get_stylesheet_directory_uri() . '/img/my-image.jpg';
$bg_img = 1394;
}
You’re welcome.
Have a nice day!
PS.
Also posted to support hoping maybe OceanWP can fix this, so we can use the image filename/URL again?