Edit or Remove All Page Titles (H1) – aka: "entry-header"

  • Unknown's avatar

    Hi,

    On our site, https://marymcmillan.com/, how can we center or remove the h1 “header” Title for all the pages? They have the header class: “entrey-header”? I tried using a custom CSS entry but the theme does not seem to accept the code and this header seems to be a locked default of this theme.

    I tried this custom CSS code:

    .page-header {
    display: none;
    }

    …but it did not work.

    This is the code I see from the header Title (h1) when I inspect it:

    <header class=”entry-header”>

    <h1 class=”entry-title”>Home</h1>
    </header>

    *If possible, we would like to center the header Title on all pages.

    Thanks so much for any info,

    Mary and Justin

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hello Mary and Justin!

    You can accomplish either of those goals with custom CSS, so you are on the right track.

    To remove all the page titles:

    h1.entry-title {display:none;}

    To center all the page titles:

    h1.entry-title {text-align: center;}

    Let us know if this works for you or if you have other questions.

  • Looks like @drizzleblocks has given you the right code. If you need more help, let us know. :)

  • The topic ‘Edit or Remove All Page Titles (H1) – aka: "entry-header"’ is closed to new replies.