Skip to content

Remove subtitle from header in mobile #237

Answered by vincerubinetti
snaqvi1990 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, in /_styles/header.scss, find this code already there:

// the header, when not "big" (on the homepage)
header:not([data-big]) {
   // when on a small screen width (mobile)
  @media (max-width: $collapse) {

    // add this (selects and hides the subtitle)
    .title > *:last-child {
      display: none;
    }
  }
}

I haven't tested this, but it should work.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vincerubinetti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants