• I’m looking to remove the page title from a specific page.

    I have seen suggestions for pasting a code into the child theme to reference the specific page id and hide the title.

    But what if I use page titles instead of the default page id’s?

    Any suggestions.

    my site is: https://www.chesswork.com/coaching

Viewing 4 replies - 1 through 4 (of 4 total)
  • Not sure I understand the problem — your site has unique page id’s — for example the page linked to — see the body tag:

    <body class="home page page-id-1273

    So you would use in the CSS:

    .page-id-1273 {
       display: none;
    }

    You’d need to add a specific selector for whichever element you want to hide.

    Thread Starter Explorz

    (@explorz)

    For the life of me, I couldn’t find the page id. Where does that show up on the edit page when I’m creating the page? I can’t find it.

    Thanks

    Thread Starter Explorz

    (@explorz)

    OK, I put this code at the very bottom of my style.css page

    .page-id-1273 .entry-title { display: none; }

    The title still shows up. What might I be doing wrong?

    Thanks

    Thread Starter Explorz

    (@explorz)

    I got it. I had to put the code up in the proper section of the style sheet with the other .entry-title code.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove page title with no ID’ is closed to new replies.