WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to hide the title of the page (7 posts)

  1. mdivk
    Member
    Posted 2 years ago #

    Hello,

    My website is http://xiexianhui.com/demo1/

    I want to hide the title in the page, for example, this page:
    http://xiexianhui.com/demo1/pre-sale/
    shows:
    "Pre-sale" on the page's content.

    How can I hide the "Pre-sale" and move the content up to fill the space?

    If I remove it from the title of the page editing in admin, it will show "no title" while I want the line completely be removed.

    Thanks.

  2. Aria
    Member
    Posted 2 years ago #

    Hi mdvik,

    One way to hide this title is to add a little line in your style sheet :

    .post-title {
        display: none;
    }
  3. mdivk
    Member
    Posted 2 years ago #

    Thank you, it works.

  4. Aria
    Member
    Posted 2 years ago #

    You're welcome !
    Can you select the topic as resolved (select it the right column of this thread) ?

  5. yarf
    Member
    Posted 2 years ago #

    I have a question regarding the code copy and pasted it into the custom css box of the options for the theme. and it work however also erases the post titles for my blog which i want to keep is their a way to modified this so that the blog titles show. my site for a example is http://www.multimovinfitness.com

    thanks

  6. kjodle
    Member
    Posted 2 years ago #

    You can target individual posts and pages by their unique id. See my tutorial on this here:

    http://blog.kjodle.net/2012/02/24/styling-wordpress-posts-pages-archives-and-home-pages-by-class/

    It's a piece of cake once you know how.

  7. mdivk
    Member
    Posted 2 years ago #

    wonderful, thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic