• Hello,

    I had created a custom Search Results Page in Elementor’s Theme Builder. I followed these directions: https://docs.elementor.com/article/357-customize-the-search-results-archive

    The issue is when I edit the page template in Template > Theme Builder. In the OceanWP Settings, I set Display Page Title to Disabled, but it still displays the Page Title. I also tried setting a background image for the Title: Background Image, but that didn’t work either.

    I also posted this to GitHub issues, but I think this forum gets more attention.

    I’m using the latest version of Elementor and OceanWP Theme.

Viewing 1 replies (of 1 total)
  • Hello,

    Add the below code to the functons.php file of the child theme to disable page title from the search result page –

    function disable_search_page_title( $return ) {
        if ( is_search() ) {
            $return = false;
        }
        return $return;
    }
    add_filter( 'ocean_display_page_header', 'disable_search_page_title' );
Viewing 1 replies (of 1 total)

The topic ‘Custom Search Page in Elementor, Cannot Hide Header’ is closed to new replies.