Need help with hiding page titles. This is my H1 class and when I am using add that page. entry-title display none code in additional CSS, nothing is working. I have found the class for H1 as this. can you help how to go about it?

[ad_1]

Need help with hiding page titles. This is my H1 class and when I am using add that page. entry-title display none code in additional CSS, nothing is working. I have found the class for H1 as this. can you help how to go about it?

[ad_2]
7 Comments
  1. Part of the problem might be that you’re inspecting the code of the backend/editor. Inspect and test it on the front end.

  2. .wp-block-inner-page-title .wp-block-post-title {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    }

    EDIT: This is a way to hide the text, but allow it to be “seen” by screen readers.

  3. The markup you’re inspecting is the editor. That’s not what you want to look at – inspect the front end page code. Or remove the h1 via the editor – but I’m assuming it’s being added via a template?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer