-
Notifications
You must be signed in to change notification settings - Fork 0
Type – Select
Henner R Setyono edited this page Jun 6, 2020
·
5 revisions
'anchorType' => [
'label' => __( 'Anchor Type' ),
'placeholder' => __( 'Select Anchor Type' ),
'type' => 'ct-select',
'choices' => [
'type-1' => __( 'Normal' ),
'type-2' => __( 'Underline' ),
'type-3' => __( 'Underline on Hover' ),
'type-4' => __( 'Background on Hover' ),
],
'value' => 'type-1',
],'anchorType' => 'type-1''sidebarTextSize' => [
'label' => __( 'Sidebar Text Size' ),
'type' => 'ct-select/text',
],POSSIBLE VALUE
var(--fontSize)var(--smallFontSize)var(--mediumFontSize)var(--largeFontSize)inherit
The sizes are defined in Core Settings.
'sidebarTitleSize' => [
'label' => __( 'Sidebar Title Size' ),
'type' => 'ct-select/heading',
],POSSIBLE VALUE
var(--h1Size)var(--h2Size)var(--h3Size)var(--h4Size)var(--h5Size)var(--h6Size)
The sizes are defined in Core Settings.
'sidebarShadow' => [
'label' => __( 'Sidebar Shadow' ),
'type' => 'ct-select/shadow',
],POSSIBLE VALUE
nonevar(--shadow0)var(--shadow1)var(--shadow2)var(--shadow3)var(--shadow4)
The shadows are defined in Core Settings.
Where to apply the code above?
- The option snippet is for New Section Filter
- The value format is for Default Value Filter
Learn more:



