Different backgrounds for different pages

Hi @peteping, the editor only allows the user to edit the background for all pages at once.

To add a custom background to each page you could add a class to the body for each new page. Using <body class="{{ page.title|replace(' ', '-') }}"> would add a custom class to the body on each page that matches the page title, but removes any spaces within it.

Hi @peteping, the editor only allows the user to edit the background for all pages at once.

To add a custom background to each page you could add a class to the body for each new page. Using <body class="{{ page.title|replace(' ', '-') }}"> would add a custom class to the body on each page that matches the page title, but removes any spaces within it.

<body class="{{ page.title|replace(' ', '-') }}"> should replace <body> at the top of the page, you should be able to find it in either the layout.twig file, or page type files (default.twig, blogpost.twig and so on).