Forum

Thread tagged as: Question, Configuration

Perch 'theme' options

I've been asked to create a theme or template for a basic Perch website that can be sold much like a Wordpress theme. The client would install and load the files and add content. I'm confident this won't be an issue as I already use a base website 'theme' for my current Perch projects.

My question is regarding allowing design configuration options such as setting layout colours and fonts. This won't need to be overly complicated but I'm wondering how others would do this and what they'd recommend? I could setup a region in the head with an internal stylesheet but I don't really want to do this. Any ideas?

Brad Hardinge

Brad Hardinge 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

You could create a simple app with your configuration options. Or add them to Settings.

Thanks Drew. Can you point me in the right direction for information on how to add options to General Settings and how to use them? I've looked through documentation, but can't seem to find it.

Rachel Andrew

Rachel Andrew 394 points
Perch Support

You can find this in the API docs: https://docs.grabaperch.com/api/app-settings/

Thanks Rachel. This looks like how to add settings for an app. Looked like Drew said settings could be added as part of an app or without an app? Was hoping to read up on how to do it without the need for an app.

Rachel Andrew

Rachel Andrew 394 points
Perch Support

The App can either add them to Settings or could have a page of it's own to complete them but yes, you need to create an app.

If you're just playing around with the possibilities, you might find this useful:

https://docs.grabaperch.com/video/v/page-attributes/

I set up a few color schemes to assess for a site I'm working on. It's pretty cool.

Thanks Rachel, I understand now.

Thanks John. Page attributes are great on a page level but not really to set site-wide design options.

Has anyone used Eggshell? Looks like it might be just what I was after...

https://github.com/LiamForsyth/eggshell