Skip to content
Discussion options

You must be logged in to vote

Hi Elaine

If you want to just reduce the height of the header on the homepage, you can reduce the $big-padding variable in _styles/header.scss.

If you want to make the homepage header look the same as the header on every other page, you can remove the data-big attribute on the <header> tag in _includes/header.html. You can see that it gets set here, when the url is equal to / (the homepage):
https://github.com/greenelab/lab-website-template/blob/main/_includes/header.html#L15-L17

You could theoretically make some other arbitrary page have a big header if you wanted.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@hiiiyilingzhang
Comment options

@vincerubinetti
Comment options

@vincerubinetti
Comment options

@hiiiyilingzhang
Comment options

Answer selected by hiiiyilingzhang
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