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

Probleme with submenu #16

Closed
dooclock opened this issue Apr 18, 2023 · 5 comments
Closed

Probleme with submenu #16

dooclock opened this issue Apr 18, 2023 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@dooclock
Copy link

Why when you add content to the root level of the pages it is not displayed ?

For example here :
http://editorial.juanvillen.es/
the submenu only display sub page not the page itself
Firefox_Screenshot_2023-04-18T09-09-42 481Z

@pmoreno-rodriguez
Copy link
Owner

Hi @dooclock
If you take a look at the navigation.htm.twig file you will see that the behavior of the menu is exactly that, to show the child pages of a parent page, if the dropdown menu option is active. It doesn't make much sense to show the content of that parent page, since its objective is precisely to display the child pages it has in the menu.
However, with a few modifications to the navigation.html.twig file you can achieve your goal.

@dooclock
Copy link
Author

dooclock commented Apr 23, 2023

Hi rodriguez,
Thx for your answer.
I'm just graphic designer i'm not able to make this hacks. :/

By the way an other this that is annoying.
When there is a submenu with others submenus, everythings open when you clic.

@pmoreno-rodriguez
Copy link
Owner

Both the structure of the theme and the behavior of its elements are the originals of the Editorial theme, from HTML5Up. The Grav theme is just a transform and almost completely preserves both CSS styles and JavaScript files.
I'll take a look at the behavior of the submenus, but there will almost certainly be modifications to the original JS files.

@pmoreno-rodriguez pmoreno-rodriguez self-assigned this Apr 24, 2023
@pmoreno-rodriguez pmoreno-rodriguez added the bug Something isn't working label Apr 24, 2023
pmoreno-rodriguez pushed a commit that referenced this issue May 20, 2023
@pmoreno-rodriguez
Copy link
Owner

Fixed in new version 1.0.8

@dooclock
Copy link
Author

thx !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants