Hide Header on Home

  • Author
    Posts
  • #159272

    7gatsu
    Member
    Original poster

    Hello, i would like to hide the header on Home but leave it available for the mobile version of the blog. Is there any CSS code i can add to do that? So far nothing worked, thanks!

    The blog I need help with is: denjinden.com

    #159325

    binarymoon
    Theme Author

    Hi there – the following should do what you want I think :)

    @media only screen and (min-width: 782px){
        .masthead .branding .custom-logo-link, 
        .masthead .branding .site-logo-link {
            display: none;
        }    
    }
    
    @media only screen and (max-width: 782px){
        .masthead .branding .custom-logo-link, .masthead .branding .site-logo-link {
            display: inline-block;
            vertical-align: middle;
        }
    }

The topic ‘Hide Header on Home’ is closed to new replies.