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

Assign themes for menu items?

Started by Muut Archive 11 years ago · 3 replies · 235 views
11 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

11 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

11 years ago

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

11 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 Deleted User, 9 years ago
0 1328 9 years ago
Archive · by Muut Archive, 9 years ago
2 921 9 years ago
Archive · by Muut Archive, 9 years ago
2 4050 9 years ago
Archive · by Muut Archive, 9 years ago
1 2928 9 years ago
Archive · by Muut Archive, 9 years ago
3 1107 9 years ago