Hello,
I wanted to know if theres a way to prevent sections from being moved in the Customizer when working with Json templates. Is there a way to make the fixed so that they remain in place? I attached a screenshot below to further clarify my issue.
Thank you!
-
Locate the JSON file for the section you want to make fixed. This file typically resides in the sections directory of your theme.
-
Open the JSON file and find the settings section. Within the settings, you’ll find an attribute called "presets".
-
Add a new preset entry to the "presets" attribute, specifying the position where you want the section to be fixed. For example:
"presets": {
"fixed": {
"position": 1
}
}
It says “fixed” is not a valid attribute in theme check,
"presets": [
{
"name": "Advert Title",
"fixed": {
"position": 1
}
}
]

It says “fixed” is not a valid attribute in theme check