Support » Theme: Biznez Lite » How to disable page titles for selective wordpress pages

  • I want to disable page titles for only some of my wordpress pages.

    For example the post id for one of my pages is : post-5 and I added the following css code but it didn’t help:

    #post-5 page-title {
      display: none;
    }

    So plz tell me what is supposed to be the correct code for this purpose.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Haseeb,

    Please use this CSS code

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

    for hide page title.

    Please let me know if it is work.

    Best,
    Gunjan

    Hi Haseeb,

    Had you thought about creating a new page template?

    In the new page template you could remove the page title, then use the original template or the new template on each page depending on whether you want the title or not.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to disable page titles for selective wordpress pages’ is closed to new replies.