Diff: STRATO-apps/wordpress_03/app/wp-content/themes/blocksy/inc/options/general/layout.php
Keine Baseline-Datei – Diff nur gegen leer.
1
-
1
+
<?php
2
+
/**
3
+
* Layout options
4
+
*
5
+
* @copyright 2019-present Creative Themes
6
+
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License
7
+
* @package Blocksy
8
+
*/
9
+
10
+
$options = [
11
+
12
+
'layout_panel' => [
13
+
'label' => __( 'Layout', 'blocksy' ),
14
+
'type' => 'ct-panel',
15
+
'setting' => [ 'transport' => 'postMessage' ],
16
+
'inner-options' => [
17
+
18
+
'maxSiteWidth' => [
19
+
'label' => __( 'Maximum Site Width', 'blocksy' ),
20
+
'type' => 'ct-slider',
21
+
'value' => 1290,
22
+
'min' => 700,
23
+
'max' => 1900,
24
+
'sync' => 'live',
25
+
],
26
+
27
+
'contentAreaSpacing' => [
28
+
'label' => __( 'Content Area Spacing', 'blocksy' ),
29
+
'type' => 'ct-slider',
30
+
'value' => [
31
+
'desktop' => '60px',
32
+
'tablet' => '60px',
33
+
'mobile' => '50px',
34
+
],
35
+
'units' => blocksy_units_config([
36
+
[ 'unit' => 'px', 'min' => 0, 'max' => 300 ],
37
+
]),
38
+
'responsive' => true,
39
+
'divider' => 'top',
40
+
'setting' => [ 'transport' => 'postMessage' ],
41
+
'desc' => __( 'Adjusts vertical spacing between main content area and header/footer.', 'blocksy' ),
42
+
],
43
+
44
+
'contentEdgeSpacing' => [
45
+
'label' => __( 'Content Edge Spacing', 'blocksy' ),
46
+
'type' => 'ct-slider',
47
+
'value' => [
48
+
'desktop' => 5,
49
+
'tablet' => 5,
50
+
'mobile' => 6,
51
+
],
52
+
'min' => 0,
53
+
'max' => 15,
54
+
'defaultUnit' => 'vw',
55
+
'responsive' => true,
56
+
'divider' => 'top',
57
+
'sync' => 'live',
58
+
'desc' => __( 'Adjusts horizontal spacing between main content area and edges of the screen.', 'blocksy' ),
59
+
],
60
+
61
+
blocksy_rand_md5() => [
62
+
'type' => 'ct-divider',
63
+
],
64
+
65
+
'narrowContainerWidth' => [
66
+
'label' => __( 'Narrow Container Max Width', 'blocksy' ),
67
+
'type' => 'ct-slider',
68
+
'value' => 750,
69
+
'min' => 400,
70
+
'max' => 1000,
71
+
'setting' => [ 'transport' => 'postMessage' ],
72
+
'desc' => __( 'This option applies only if the posts or pages are set to Narrow Width structure.', 'blocksy' ),
73
+
],
74
+
75
+
'wideOffset' => [
76
+
'label' => __( 'Wide Alignment Offset', 'blocksy' ),
77
+
'type' => 'ct-slider',
78
+
'defaultUnit' => 'px',
79
+
'value' => 130,
80
+
'min' => 20,
81
+
'max' => 200,
82
+
'divider' => 'top',
83
+
'setting' => [ 'transport' => 'postMessage' ],
84
+
'desc' => __( 'This option will apply only to those elements that have a wide alignment option.', 'blocksy' ),
85
+
],
86
+
87
+
],
88
+
],
89
+
90
+
];
91
+