I am trying GitHub Pages for my developer blog post, unfortunately I am having a hard time deleting the header part after choosing a theme.
Even though I already edited the Readme.md
, the header is still there and I can't even remove or edit it. Do you have any idea on how to remove or edit it? There are only 2 files on my repositories: Readme.md
and _config.yml
By default, the title of your site is username.github.io . You can change the title by editing the _config.yml file in your repository. You can also add a description for your site.
I found you can customize your site CSS to hide the header by creating the file:
/assets/css/style.scss
---
---
@import "{{ site.theme }}";
header {
display: none;
}
This is a closed issue on Github.
That said, you may want to override the HTML layout, so your site doesn't unexpectedly break.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With