Viewing 9 replies - 1 through 9 (of 9 total)
  • I think it’s because you didn’t add a title to the post. Try adding a title.

    Thread Starter dadislotroguides

    (@dadislotroguides)

    I don’t want it to have a title either.

    Theme Author lyrathemes

    (@lyrathemes)

    If you do not want it to have a title, you would have to manually hide the title using some CSS. I would need the link to that post so I can give you the exact CSS to use.

    The image above says that the post ID is 38, so you can add this CSS by going to Appearance → Customize → Advanced Settings and copying & pasting this rule in the Custom CSS field:

    
    .post-38 .entry-title {
       display: none;
    }
    
    Theme Author lyrathemes

    (@lyrathemes)

    Yes, that would remove the title. And if you want to hide the entire grey banner/bar:
    https://wordpress.org/support/topic/banner-width-mobile-white-space-above-heaver-remove-grey-when-no-header/#post-8601883

    Thread Starter dadislotroguides

    (@dadislotroguides)

    The custom CSS did not remove the post ID.

    Thread Starter dadislotroguides

    (@dadislotroguides)

    I have identified the source code as;

    <h3 class="page-title">Post ID: 38</h3>

    I have tried the following variations and none remove the Post ID:38;

    .page-id-38 .page-title {
       display: none;
    }
    
    #post-38  .page-title {
      display: none;
    }
    
    .page-id-38 .entry-title {
       display: none;
    }
    
    #post-38  .entry-title {
      display: none;
    }
    
    .post-id-38 .page-title {
       display: none;
    }
    
    .post-38 .page-title {
       display: none;
    }

    Does this line have anything to do with it?

    <div class="clearfix post-38 page type-page status-publish hentry" id="page-38">

    I have noticed that “hentry” is probably supposed to be “entry”

    Thread Starter dadislotroguides

    (@dadislotroguides)

    SOLVED

    The code was;

    .page-id-38 .page-title {
       display: none;
    }

    It turns out that I had to use the Customize > Additional CSS area to make these modifications.

    The Customize > Advanced Settings > Custom CSS did not work.

    Theme Author lyrathemes

    (@lyrathemes)

    Glad you were able to resolve this. Best of luck for the future!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘How To Remove Post ID ?’ is closed to new replies.