Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #82810
    FortWayneATA
    Participant

    I’m trying to create a custom landing page for my site. I need to hide the masthead, add a custom background and hide the page title (entry-header). So far I’m 2 for three. I can hide the masthead and add a custom background with the following code (in my child style.css of course):

    .page-id-730 #masthead { display:none}

    .page-id-730.custom-background {
    background-color: #ffffff;
    background-image: url(‘http://mysite.com/wp/wp-content/uploads/2016/01/ValBkgdLowSat4.jpg’);
    background-repeat: repeat;
    background-position: top right;
    background-attachment: fixed;
    }

    I’ve tried all kinds of variations to hide the page title / entry-header with no success so far. Ideas? Thanks!

    #82846
    Mahesh
    Keymaster

    Hi @FortWayneATA,

    To hide page title please use the following CSS. You can either put in it style.css or go to “Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS” box.
    Assuming your page ID is 730, using the same class as mentioned above.
    .page-id-730 .entry-header{
    display: none;
    }

    Hope this fixes your issue, if not please let me know and please post in your site url.

    Regards,
    Mahesh

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Suppress entry-header for a single page’ is closed to new replies.