WordPress.org

Ready to get started?Download WordPress

Forums

Constructor
hide header in front page (5 posts)

  1. DewaSurya
    Member
    Posted 2 years ago #

    Hi,

    Please let me know CSS to hide the header only in front page.
    I have done that before, but I lost the data.

    Thanks.

    http://wordpress.org/extend/themes/constructor/

  2. Ziv
    Member
    Posted 2 years ago #

    I tried to do this with different header templates, but failed. Hopefully someone with more knowledge can help.

  3. Ziv
    Member
    Posted 2 years ago #

    If you could be more specific about things you would like to remove in the header then maybe I could help.

  4. OrT
    Member
    Posted 2 years ago #

    Hiding it means loading and making invisible, a better way to do this is going into your header.php file and add a little condition:

    <?php
    if ( is_home() == false ) {
    // show header //
    ?>

  5. DewaSurya
    Member
    Posted 2 years ago #

    Hi all thank you for all your help,

    I search everywhere and then found something like this:
    .home #header {
    display=none;}

    it works! but as long as i remember my old css wasn't like this, it was able to control specific category, page or post, or page/post ID.
    With this code I try to change it to .page or .post but the header still there. Hope you understand what I mean :)
    Any idea?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic