Remove scrolling on home page

  • Author
    Posts
  • #125566

    zackenicol
    Member

    Is there any way to remove scrolling on the home page? Currently, you scan scroll ever so slightly on the home page and when this happens, you lose the menu at the top of the screen.

    The blog I need help with is zacknicol.com.

    #125820

    thelukemcdonald
    Theme Author

    You can likely some custom CSS to prevent scrolling on larger screens where there is enough vertical room to display your site logo. I’ve provided some untested CSS below that should get you close to what you’re looking for.

    .full-screen-header .site-header {
      min-height: calc(100vh - 60px);
    }
    
    .full-screen-header.admin-bar .site-header {
      min-height: calc(100vh - 92px);
    }

    Let me know how that works for you.

The topic ‘Remove scrolling on home page’ is closed to new replies.