How to hide static page title

  • echofloripa

    #307

    Hi

    I have created a page which is the static home page, I would like to hide the ‘Home’ title on this page only so the visitors see only the image when they visit the site.

    Any help would be appreciated.

    Thank you

    daveiom

    Admin

    Syahir Hakim

    #12048

    You’re mostly will have to use a child theme to achieve this.

    URL please.

    daveiom

    #12049

    Thank you for your reply – I’m not sure how to create a child theme, here is the url..

    http://www.danielmccanney.com

    I have named the page ‘Daniel McCanney – 2010 British Sprint Enduro Champion’ but ideally would like to remove the text heading so the image is at the top of the page

    Thank you for your support – much appreciated

    daveiom

    Admin

    Syahir Hakim

    #12050

    See here for instructions on how to set up a child theme: https://forum.graphene-theme.com/topic/how-to-modify-the-theme-using-a-child-theme

    Then add this code into the child theme’s style.css file to hide the page title on the front page:

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

    daveiom

    #12051

    Thank you Syahir for your quick reply

    I will try what you suggested now!

    On another subject, is it possible to have more than 5 levels in the drop down menu?

    Thanks

    daveiom

    Admin

    Syahir Hakim

    #12052

    I would think so, yes. But why would you need such a deep dropdown menu?

    daveiom

    #12053

    Because I would like to added a new level for each photo gallery page that I create, could you please explain how I would add more levels?

    Admin

    Syahir Hakim

    #12054

    In header.php file, at line 117, change the depth parameter of the wp_nav_menu() function call from 5 to whatever depth you want. I know that this involves manually editing the theme’s files, but in the next update you’ll be able to do this from the child theme.

    You may also need to add some CSS styling if the menu display goes haywire, but I think it should be fine.

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

You must be logged in to reply to this topic.