New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hide edit button and title on specified pages #2163
Comments
Why? Could you elaborate on why one would want to do that? Also what do you mean by page title? |
Providing an option for these kinds of tweaks is out-of-scope for this project – we just cannot make everything configurable. Hiding the sidebars involves some more complex logic, which is why these are provided as options. You can hide the headline and edit button with some inline CSS. Just add this to the Markdown file in question: <style>
.md-typeset h1,
.md-content__button {
display: none;
}
</style> If you want to do this for multiple pages, use the "site-wide glossary" approach by leveraging the Snippets extension: |
@squidfunk inline css works like magic! Thank you! |
I found that using this inline CSS method also results in the hiding of the h1 titles in the search results of the current page. |
I want to suggest an idea and checked that ...
Description
In some cases it will be a great deal to hide page title and edit button on specific pages.
Example:
The text was updated successfully, but these errors were encountered: