Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Creation of submenu

Started by Muut Archive 10 years ago · 1 replies · 493 views
10 years ago

Hi,

We have recently started exploring the features of Grav to build a website. We require the availability of buttons to use as submenu, which we created via a modular showcase subpage. Each of these buttons is presently linked to a separate subpage by manually specifying a URL for each button.

Is there any way by which a submenu that automatically remains available in every subpage may be created, without having to include new buttons, together with their URLs, manually in each subpage? Also, is there any way by which this submenu is pinned in place such that this does not scroll up with the text, unlike the modular showcase subpage currently in use?

Thanks in advance.

10 years ago

These are more HTML/CSS questions. You can add whatever sidebars and menus you want in your templates. Generating the menu is straightforward (check out the various themes for the various ways to do this; the exact answer depends on how you're structuring your content). And pinning elements is accomplished with CSS.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1357 9 years ago
Archive · by Muut Archive, 9 years ago
2 936 9 years ago
Archive · by Muut Archive, 9 years ago
2 4066 9 years ago
Archive · by Muut Archive, 9 years ago
1 2954 9 years ago
Archive · by Muut Archive, 9 years ago
3 1120 9 years ago