- This topic has 9 replies, 2 voices, and was last updated 5 years ago by Tom.
November 1, 2015 at 1:47 am #149294Oleg
I want to make some children templates with different settings in the menu. For example, there must be different width units in children’s themes. I do not know how to do it. The templates are different, but the settings for all alone.November 1, 2015 at 10:56 am #149517TomLead DeveloperLead Developer
I’m not too sure what you mean? What exactly are you wanting to do?
You can put different CSS and functions into different child themes to accomplish custom functionality in each one.November 1, 2015 at 6:41 pm #149621Oleg
I mean the following. Theme Settings affect all templates, including children. I want to make separate settings for different themes.November 2, 2015 at 1:24 am #149682TomLead DeveloperLead Developer
You can use the functions.php file in your child themes to change the default values: https://generatepress.com/forums/topic/how-can-i-create-a-child-theme-that-comprehends-customizer-settings/#post-114781
Is that what you’re wanting to do?November 2, 2015 at 1:31 am #149691Oleg
Yes, it is. But where to get the full list of variables for setting all add-ons? The link you provided only part of the variables.November 2, 2015 at 1:36 am #149695TomLead DeveloperLead Developer
Currently you can only tap into the default options, Colors, Typography and Spacing using the free theme. I edited that post I linked to so it includes the Spacing options as well.November 2, 2015 at 1:43 am #149697Oleg
Thanks for the info. Will the future support for other add-ons? I would like to set up children themes: Background, Blog, Menu Plus.November 2, 2015 at 10:19 am #149797TomLead DeveloperLead Developer
Those add-ons have their own scripts and files, so they won’t be added to the core theme.
The three that are integrated are all handled by the functions in the topic above, so they are integrated.
The others would involve including other scripts and more files, which wouldn’t make GP very lightweight anymore.November 2, 2015 at 7:50 pm #149954Oleg
Thanks for the info!November 3, 2015 at 1:13 am #149997
- You must be logged in to reply to this topic.