Skip to content

Instantly share code, notes, and snippets.

@quangbahoa
Last active November 3, 2016 00:52
Show Gist options
  • Save quangbahoa/1b02e5e7d9ecdabd2b103bb711fef65e to your computer and use it in GitHub Desktop.
Save quangbahoa/1b02e5e7d9ecdabd2b103bb711fef65e to your computer and use it in GitHub Desktop.
wrenchreview.com

Fixed nav-toggle class

.nav-toggle { 
  padding-bottom: 115px;
}

TO:

.nav-toggle { 
  padding-bottom: 0;
}

Fixed header id

#header {
  margin-top: -120px;
  padding: 40px 0 45px;
}

TO

#header {
  margin-top: 0;
  padding: 0;
}

Sample

@media screen and (max-width: 780px) {
    .nav-toggle { 
      padding-bottom: 0;
    }
    #header {
      margin-top: 0;
      padding: 0;
    }
}

Note:

!important maybe required to overwirte current value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment