Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Assign themes for menu items?

Started by Muut Archive 12 years ago · 3 replies · 418 views
12 years ago

Hi, I installed different themes. But I can't find a way to assign them to menu items. So, is it possible to assign another theme (not template layout) for different menu items? as set in user/config/system.yaml/pages/theme.
Maybe page01.home: theme: antimatter, page02.about:: theme: another
Another point: In your Demo One-Page-Site Skeleton there are no menu items in sidebar on mobile view in navigation except the home item? How can i get all items in there?

Thanks

12 years ago

I don't think there is a way of setting different themes for different menu items.. Anybody correct me if I'm wrong.. Not sure why you need that though. You can completely customize templates, load different css, scripts etc.. No need to switch themes..
Regarding menu - i will take a look and will let you know

12 years ago

It's not built in but you could easily write a plugin to override the theme config variable for a certain page.

12 years ago

OK, thanks. I'm a Joomla/Gantry user. Thought there would be a way to assign themes quickly like in Joomla.
But anyway GRAV is gravtastic! Came to Grav just 3 days ago.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 672 1 week ago
Archive · by Deleted User, 9 years ago
0 3043 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5336 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago