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

how to properly space content below a navbar #1285

Open
tacman opened this issue Nov 16, 2023 · 1 comment
Open

how to properly space content below a navbar #1285

tacman opened this issue Nov 16, 2023 · 1 comment

Comments

@tacman
Copy link

tacman commented Nov 16, 2023

I love the theme options, thanks for releasing this!

Is there a class to apply to the body or container to properly space the main page content below the navbar? For example, with materia:

image

And with sandstone

image

In both cases the content is too high, I'm guessing there's a class somewhere to determine the margins.

Your example page for each theme has all the navbars in a block, by chance are there example pages with a navbar at the top of the page that I can use to see how to properly setup the body and container?

@tacman
Copy link
Author

tacman commented Nov 16, 2023

If I remove the fixed-top class in navar, it works as expected. Am I missing something for setting fixed-top css?

I changed the class to sticky-top and it seems to be working for me.

image

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