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

Menu inside or above Hero #405

Closed
EvgenyADE opened this issue Dec 27, 2023 · 2 comments
Closed

Menu inside or above Hero #405

EvgenyADE opened this issue Dec 27, 2023 · 2 comments
Assignees
Labels
typhoon Typhoon theme

Comments

@EvgenyADE
Copy link

Hi

Could you please help, I have the menu of the site in general above Hero, as it is in this example: https://demo.getgrav.org/typhoon/rockets/design

But on modular page it is inside Hero, as here:
and inside the Hero like this: https://demo.getgrav.org/typhoon/rockets/history

I cannot find the setting for switching between these options.

@EvgenyADE EvgenyADE added the typhoon Typhoon theme label Dec 27, 2023
@rhukster
Copy link
Member

All you need to do is set the header_bar background to transparent.

If you look in the page file (default.md) for the user/pages/02.history/ page. You will see:

---
title: 'Rocket History'
menu: History
header_bar:
    background: transparent
    text: dark
...

So the background is transparent (on top of the hero), and the text option is set to 'dark' which means that it's suitable for 'dark' background, ie, the text is actually lighter.

@EvgenyADE
Copy link
Author

Thank you! Solved

@rhukster rhukster closed this as completed Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
typhoon Typhoon theme
Projects
None yet
Development

No branches or pull requests

2 participants