You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to change the CSS selector for a bunch of options in my child theme. In this case the header option set.
Core Feature
[infinity-header-layout]
type = "default"
title = "Header Styles"
description = "Customize the layout and colors of the header"
options.section = "header"
options.style_selector = "#header"
I figured out why this is happening. Its a really weird situation that probably won't get resolved until we rewrite some of the config loading stuff.
I know the rest is way complex, these are notes for myself.
This is happening only for options which are created using the suboption syntax like [myfeature.someopt]
The problem is that the options.setting syntax sets up defaults for options to apply when they are configured. Since the suboptions get created the first time a feature needs them, they might get initially created before all of the features.ini are loaded. If no overrides are set for a suboption, they are not configured again, which means the overriding defaults are never applied.
Loading all features.ini before all options.ini does not have an affect, since the suboptions are created based on what is found in features.ini as each file loads.
I'm trying to change the CSS selector for a bunch of options in my child theme. In this case the header option set.
Core Feature
My Features.ini overwrite in child theme
This has no effect. The option does not break but it still puts the CSS under #header.
The text was updated successfully, but these errors were encountered: