Hide Page Title on x-child theme

Hello,

I just used this code to show my sidebar on top of the page content on mobile (Sidebar Left, Content Right page)
Normally it shows the sidebar below the content.

However, i also adds the Page Title on top of the Content, which i would like to hide.
I already tried the css to hide it, and set Hide Page Title on all pages, but it still shows it.

Any idea how to hide the Page Title?

<?php

// =============================================================================
// VIEWS/INTEGRITY/WP-INDEX.PHP
// -----------------------------------------------------------------------------
// Index page output for Integrity.
// =============================================================================

?>

<?php get_header(); ?>

  <div class="x-container max width offset">
  
	<?php get_sidebar(); ?>
	
    <div class="<?php x_main_content_class(); ?>" role="main">

      <?php x_get_view( 'global', '_index' ); ?>

    </div>

  </div>

<?php get_footer(); ?>

You can hide the page title in TWO ways.

If it is an individual Page, you can do this on page edit section. Under default editor there is an option as “Disable Page Title”. Tick the option and save/update the page.

On other hand if you want to hide the Title for all pages and posts, you should do this by changing global settings under Theme options.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.