Support » Fixing WordPress » Remove page title on homepage only

  • Resolved rctfan1999

    (@rctfan1999)


    I want to remove the page title on the all static pages, ideally by custom css.
    I know you can remove it by leaving the ‘title’ section blank, but as I have many pages its difficult to keep track of which pages are which.
    Thanks!

Viewing 1 replies (of 1 total)
  • If you want to use CSS, you can target the title of specific pages by using the classes assigned to the body element. Check the list of classes that the function body_class assigns to each page.
    For example, you can use body.page or body.home depending on where you want the page title to be visible and where you don’t.

    For more specific advice please provide a link to your website.

Viewing 1 replies (of 1 total)
  • The topic ‘Remove page title on homepage only’ is closed to new replies.