기본적으로 모든 구성요소와 섹션 레이아웃이 사이트 개발자에게 제공됩니다. 특정 테마를 사용할 때 사용할 수 없는 구성요소 또는 섹션 레이아웃을 숨기려는 경우가 있을 수 있습니다. 예를 들어, 단추 구성요소 또는 슬라이더 섹션 레이아웃을 사용하지 않는 일관된 모양을 승격하려는 경우 테마의 components.json 파일을 편집하여 테마에서 숨길 수 있습니다.
테마에서 구성요소 및 섹션 레이아웃을 숨기려면 다음과 같이 하십시오.
숨김을 true로 설정합니다.
"type":"scs-button", "id":"scs-button", "hidden":true
"type":"scs-sectionlayout", "id":"scs-sl-slider", "hidden":true
단추 구성요소와 슬라이더 섹션 레이아웃을 숨길 components.json 파일로의 전체 입력은 다음과 같습니다.
[
{
"name":"",
"list":[
{
"type":"scs-button",
"id":"scs-button",
"hidden":true
},
{
"type":"scs-sectionlayout",
"id":"scs-sl-slider",
"hidden":true
}
]
},
{
"name": "Starter",
"list": [
{
"type": "component",
"id": "StarterComponent",
"themed": true
},
{
"type": "component",
"id": "StarterFooter",
"themed": true
}
]
}
]