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

Beginner: adding another theme

Started by Muut Archive 10 years ago · 5 replies · 470 views
10 years ago

Hi,

So i downloaded grav, got it running. But, i want to change the theme to the agency theme.
I downloaded/added the theme, but i can't see anything different then the origninal theme grav came with. Obviously, i'm doing something wrong. ;-(

I expect to see grav running like the demo, including pages and content, like https://demo.getgrav.org/agency-skeleton/

Can anyone give me some tips?

Thanx and Kind Regards,
Erik

10 years ago

You need to change the configuration to use the theme, specifically like this:

YAML
pages:
  theme: agency
10 years ago

Thnx for the reply. I changed it in the sytem.yaml, but unfortunately, nothing happens. But would this change not go automatically if one chooses another theme?

10 years ago

Does it mean that, maybe, the theme is loaded, but without the pages and content? And i have to manually add the pages and content? Because the pages folder still only contains the original "antimatter" content :-(

10 years ago

OOps... i installed the theme, not the skeleton. The skeleton does contain the new page and content...
Now Grav is displaying "agency" like the demo! Nice...
thnx everybody!

10 years ago

Content is irrelevant, but make sure you clear the cache after changing any settings in system.yaml.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1999 9 years ago
Archive · by Muut Archive, 9 years ago
2 1342 9 years ago
Archive · by Muut Archive, 9 years ago
2 4549 9 years ago
Archive · by Muut Archive, 9 years ago
1 3402 9 years ago
Archive · by Muut Archive, 9 years ago
3 1493 9 years ago