Remove subtitle from header in mobile #237
Answered
by
vincerubinetti
snaqvi1990
asked this question in
Q&A
-
Last question I promise! I added a subtitle which looks great, but on mobile it makes the header on any of the non-main pages a little thick. Is there any way to remove the subtitle from these pages (but not the home page on mobile)? |
Beta Was this translation helpful? Give feedback.
Answered by
vincerubinetti
Jan 31, 2024
Replies: 1 comment
-
Yes, in // 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. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
vincerubinetti
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, in
/_styles/header.scss
, find this code already there:I haven't tested this, but it should work.