How can I remove the Home link from the content area?

  • cebaby

    #6514

    It is unnecessary and a bit ugly to have the “home” link appear at the top of the content area on the home page. Is it possible to remove or at least change it to say something else without causing the navigation link to disappear or change? thanks.

    Mod

    Kenneth John Odle

    #34626

    You can control anything you want in a menu by using a custom menu:

    http://blog.kjodle.net/2011/08/25/how-to-create-and-use-custom-menus-in-wordpress/

    If you just want to make it disappear, add this to custom CSS:

    .home #header-menu > li:first-child {display:none;}

    Keep in mind that if you mess with menus too much, it confuses people. You may just want to style it differently, as a reminder to readers of where they are. (Most themes, including Graphene, do this automatically.)

    cebaby

    #34627

    thank you it is just the home title i want to remove. 🙂

    cebaby

    #34628

    it is not working. it removed it from the navigation menu, but not the content area.

    i tried both:

    .home #header-menu li:first-child

    {display:none;}

    .home #header-menu > li:first-child

    {display:none;}

    i also tried this

    .home #secondary-menu > li:first-child

    {display:none;}

    might it be a page title assignment?

    http://belairmddentist.com/ – i removed the css

    Admin

    Syahir Hakim

    #34629

    Try adding this to the Custom CSS option:

    .home #header-menu .current-menu-item {
    display: none;
    }

    cebaby

    #34630

    no that was not it – it removed home from the menu navigation. i would like the “home” title in the content area for the home page hidden. i believe this may be .page-title ?? It appears in blue above the page content in the center column.

    http://belairmddentist.com/

    Admin

    Syahir Hakim

    #34631

    Ah, in that case try this:

    .home .post-title {
    display: none;
    }

    FYI, the Firebug add-on for Firefox is super useful for figuring out things like this.

    cebaby

    #34632

    that did it thanks! i use chrome, good to know about FF.

    Admin

    Syahir Hakim

    #34633

    There’s also the developer tools in Chrome. Try pressing F12.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.