How to change default theme in composer3 users found helpful
I've got a custom theme that I use through out my site but when I use composer to create a blog entry page the default theme is "Greek Yogurt" even though I've activated my custom theme and it's the theme used it the parent page.
Also composer has options for "Header Image" and "Thumbnail". I'd like to remove these but cannot find where to remove them from page types defaults.
So any help with either of these problems I'd be very thankful.
There is straight explanation how you can setup / remove content sections from composer.
For the theme issue, you'll have to wait for other answer, sorry I can't help you with that. I'd suggest at least checking also that the sub-pages don't have any theme overrides.
Antti / Mainio
I go to 'Defaults' on the Blog Entry page type, I see the tags and thumb areas set up but there is no header on the page to then remove it.
Any ideas? Many thanks!
There you can disable that area in the composer.
Also where does the thumb image get its width and height settings from, I can't see it listed in Attributes
If anyone else is interested look in blocks > choose the block type - 'image' in my case > composer > thumb.php (in my case)
Still can't figure out how to get rid of the Header image mind
If in default installation, these are under the Blog Entry page type defaults.
You're not using the default template, so you might want to change your theme to the "Greek Yogurt" one while you do the change. There's the area missing from your template that contains the header image.
Other option is in your current theme to add a new area with name "Header Image".
That can be added with this code in your theme:
<?php $a = new Area('Header Image'); $a->display($c); ?>
Many thanks for your help!
For the custon theme, by activating a random theme then re-activating my custom theme has now made my custom theme the default in composer.. This isn't idea as the preference SHOULD be for what ever the parents theme is should be the default theme for published pages for the case where multiple themes are used in a single site.
As for the "thumbnail" and other options in composer they were configured when "Greek_Yogurt" was default theme. By making it the "Activated" theme then going to page defaults deleteing those blocks then changing the default theme again.
Hope this helps everyone!
I am using C5 version 18.104.22.168 and had the blog created at installation. Then I created a custom theme, and am now stuck with "Greek Yogurt" theme on new pages created in the Composer. I actually deleted the "Greek Yogurt" theme, just to see if it made any difference - after that the new pages get no theme at all...
Composer now publishes and previews using my custom theme. Phew . . .