Support » Theme: Decode » Decode Header/ Menu Help

  • Resolved runvito

    (@runvito)


    Guys, I’m using Decode as a theme, and I can’t figure out how to remove the massive heading at the top of each page, duplicated from the main navigation/menu?

    Can you help?? Cheers

Viewing 3 replies - 1 through 3 (of 3 total)
  • Siobhan Bamber (siobhyb)

    (@siobhyb)

    Automattic Happiness Engineer

    Hey. Before making any change’s to a theme’s template files, you must first create a child theme. Information about child themes and instructions on how to create one can be found here: codex.wordpress.org/Child_Themes.

    Once you’ve created your child theme, upload a content-page.php file to it. Copy and paste the code from your parent theme’s content-page.php into your child theme’s.

    Finally, in your child theme’s content-page.php file, find and delete the following code in the file:

    <header class="entry-header">
    		<h1 class="entry-title"><?php the_title(); ?></h1>
    	</header><!-- .entry-header -->

    Let me know if this gives you the result you were looking for.

    runvito

    (@runvito)

    article.page .entry-header {display: none;}

    Inserted into the custom CSS panel.

    Thanks to Scott

    runvito

    (@runvito)

    Thanks Siobhan

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Decode Header/ Menu Help’ is closed to new replies.