matthewselby
7/10/2017 - 4:47 PM

Below is the full code needed to horizontally and vertically center the footer blocks in nuvo-express. Browser prefixes included! Super help

Below is the full code needed to horizontally and vertically center the footer blocks in nuvo-express. Browser prefixes included! Super helpful when needing to define a min-hight for the footer boxes.

/*
custom footer styles
add min-height value below or remove selector expression
*/
@media (min-width: 1200px) {
  body div.footer{
    min-height:  !important;
  }
}

.footer {
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.footer ul {
    text-align: left;
    margin-top: 1rem !important;
}