Remove Home Page Title and Spacing
  • I set my homepage to a static page called 'Home'. I'm using the Full Width template. I'm using a slider plugin that rotates images and I don't want to have the 'Home' title appear above page. How can I remove the title just for the home page and remove the extra spacing between the menu bar and my page?
  • I am thinking is that you're talking about breadcrumb lists, if so you can turn this off completely from Theme Options, but that will also remove from the rest of the pages too.

    You can add this to your style.css
    .home .breadcrumb-list {
        display:none;
    }
    

    Also see: http://themeid.com/forum/topic/725/reduce-the-gap-below-ulmenu/

    Let me know if this worked,
    Emil
    techmoney wrote:
    I set my homepage to a static page called 'Home'. I'm using the Full Width template. I'm using a slider plugin that rotates images and I don't want to have the 'Home' title appear above page. How can I remove the title just for the home page and remove the extra spacing between the menu bar and my page?
  • Hi,

    Adjusting this accomplished what I needed for the home page spacing.

    #content-full {
    margin-top:-40px;
    margin-bottom:20px;
    }

    I modified this code in the full-width-page.php so it doesn't display "Home" on the home page.
    <?php if ( is_front_page() ) { ?>
    <?php ?>
    <?php } else { ?>
    <h1><?php the_title(); ?></h1>
    <?php } ?>

    Thanks!


    Emil wrote:
    I am thinking is that you're talking about breadcrumb lists, if so you can turn this off completely from Theme Options, but that will also remove from the rest of the pages too.

    You can add this to your style.css
    .home .breadcrumb-list {
        display:none;
    }
    

    Also see: http://themeid.com/forum/topic/725/reduce-the-gap-below-ulmenu/

    Let me know if this worked,
    Emil
    techmoney wrote:
    I set my homepage to a static page called 'Home'. I'm using the Full Width template. I'm using a slider plugin that rotates images and I don't want to have the 'Home' title appear above page. How can I remove the title just for the home page and remove the extra spacing between the menu bar and my page?
  • Oh you meant the actual titles sorry my bad :) Good that you got this covered.

    Emil
    techmoney wrote:
    Hi,

    Adjusting this accomplished what I needed for the home page spacing.

    #content-full {
    margin-top:-40px;
    margin-bottom:20px;
    }

    I modified this code in the full-width-page.php so it doesn't display "Home" on the home page.
    <?php if ( is_front_page() ) { ?>
    <?php ?>
    <?php } else { ?>
    <h1><?php the_title(); ?></h1>
    <?php } ?>

    Thanks!


    Emil wrote:
    I am thinking is that you're talking about breadcrumb lists, if so you can turn this off completely from Theme Options, but that will also remove from the rest of the pages too.

    You can add this to your style.css
    .home .breadcrumb-list {
        display:none;
    }
    

    Also see: http://themeid.com/forum/topic/725/reduce-the-gap-below-ulmenu/

    Let me know if this worked,
    Emil
    techmoney wrote:
    I set my homepage to a static page called 'Home'. I'm using the Full Width template. I'm using a slider plugin that rotates images and I don't want to have the 'Home' title appear above page. How can I remove the title just for the home page and remove the extra spacing between the menu bar and my page?
  • None of this is what I was looking for. I wanted to remove the the 'HOME' and all page titles from it displaying at the top left corner of the page.I deleted this line in my 'Full Width Page (no sidebar) Page Template'
    <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
                    <h1 class="post-title"><?php the_title(); ?></h1>
    

    and THAT worked.
  • There's much easier option and that is:
    #content-full .post-title {
        display:none;
    }
    

    and page.php H1 removal works no doubt about it, however as soon as you update the Theme, this customization will be deleted, if you're not working with Child Theme :)

    Thanks,
    Emil
    4D wrote:
    None of this is what I was looking for. I wanted to remove the the 'HOME' and all page titles from it displaying at the top left corner of the page.I deleted this line in my 'Full Width Page (no sidebar) Page Template'
    <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
                    <h1 class="post-title"><?php the_title(); ?></h1>
    

    and THAT worked.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

    Most Popular This Week