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

Funky NavBar #146

Closed
GrantBirki opened this issue Mar 12, 2023 · 2 comments
Closed

Funky NavBar #146

GrantBirki opened this issue Mar 12, 2023 · 2 comments

Comments

@GrantBirki
Copy link

Funky NavBar

Back in December, I used this template to setup a simple site. Back then, the navbar elements were all nicely lined up on the right hand side of the top navbar. Now, they seems to be kinda in the center and it just doesn't look as clean.

Here is an example of what it looks like now with the navbar just not looking quite right:

Screenshot 2023-03-12 at 6 59 34 PM

@prototypa
Copy link
Contributor

Hi @GrantBirki

The AstroWind is still in version 0.x because we are working on it. We had a small interruption for other tasks but we are already on it.

The new change is due to the fact that the Header is now configurable. You can have it center (default) left or right.

For example, you can see this page to see how to put it on the left: https://github.com/onwidget/astrowind/blob/main/src/pages/landing/startup.astro#L21

If you apply position="right" it will be on the right as before.

If you need this change for all pages you can make the adjustment in PageLayout.astro

@GrantBirki
Copy link
Author

Thank you @prototypa so much for the quick response! Really love this theme and using it in a few places. I recently upgraded and wanted the right floating nav bar back and this should do exactly what I want. Thanks!

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

2 participants