Skip to content

Problems styling the page header the way I want it #6639

Answered by kamilkrzyskow
pitosalas asked this question in Q&A
Discussion options

You must be logged in to vote

Looking in the developer tools I saw this hiding the tabs when switching to "tablet" resolution:

@media screen and (max-width: 76.2344em) {
  .md-tabs {
    display: none;
  }
}

so override it with the same and display block or initial in the extra css:
https://squidfunk.github.io/mkdocs-material/customization/#additional-css

@media screen and (max-width: 76.2344em) {
  .md-tabs {
    display: block;
  }
}

Replies: 5 comments 4 replies

Comment options

alexvoss
Jan 12, 2024
Collaborator Sponsor

You must be logged in to vote
1 reply
@alexvoss
Comment options

alexvoss Jan 12, 2024
Collaborator Sponsor

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@alexvoss
Comment options

alexvoss Jan 13, 2024
Collaborator Sponsor

Comment options

You must be logged in to vote
2 replies
@alexvoss
Comment options

alexvoss Jan 13, 2024
Collaborator Sponsor

@kamilkrzyskow
Comment options

Answer selected by markallasread
Comment options

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