Hide Page Name

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1914 Reply

    Laura

    How can hide the name of pages? thanks

    #1915

    Ron
    Keymaster

    Hi Laura
    Sorry for the late reply. If you want to hide the Title for all the pages you can add this in the Asteroid Options -> Custom CSS

    .type-page .entry-title {
        display: none;
    }

    If you only want to hide a specific page you have to change the code to this. Replace the xxx with the ID of the targeted page.

    .post-xxx .entry-title {
        display: none;
    }
    #1931

    Anonymous

    How do I get the Page ID?

    #1932

    Ron
    Keymaster

    You can get the Page’s ID by going to your Dashboard then go to Pages. Hover your mouse to the specific page then you can see a url at the bottom of your browsers
    example:

    sample.com/wp-admin/post.php?post=1098&action=edit

    The ID here is 1098
    Then the code would be:

    .post-1098 .entry-title {
        display: none;
    }

    If you’re not using pretty permalinks then that ID will be visible on the address bar.

    It’s a lot easier to get a post or page ID by using firebug for firefox.

    #1985

    Anonymous

    Great, that got the job done. Thanks 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Hide Page Name
Your information: