WordPress.org

Ready to get started?Download WordPress

Forums

Decode
[resolved] Decode Header/ Menu Help (4 posts)

  1. runvito
    Member
    Posted 11 months ago #

    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

  2. Siobhan Bamber (siobhyb)
    Forum Mod.
    Posted 11 months ago #

    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.

  3. runvito
    Member
    Posted 11 months ago #

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

    Inserted into the custom CSS panel.

    Thanks to Scott

  4. runvito
    Member
    Posted 11 months ago #

    Thanks Siobhan

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.