Skip to content
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

Sticky header shortcode not working #339

Open
alextokyoesque opened this issue Nov 1, 2022 · 0 comments
Open

Sticky header shortcode not working #339

alextokyoesque opened this issue Nov 1, 2022 · 0 comments

Comments

@alextokyoesque
Copy link

alextokyoesque commented Nov 1, 2022

I've been trying to make the header for the website www.tokyoesque.com freeze in place so that it is still visible and clickable when scrolling down, but the code I have tried has shifted some text on the homepage to an undesirable position. Can anyone help me find a way to get the sticky header to work without messing up the position of other elements of the page?
The code I have tried is as so:
/Sticky header/
header#masthead {
position: fixed;
width: 100%;
z-index: 100;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant