added setting

This commit is contained in:
vedatakd 2022-01-30 15:44:25 +03:00
parent 30ff6a677d
commit e432dcf244
4 changed files with 12 additions and 3 deletions

View File

@ -15,7 +15,7 @@ return [
'template' => [ 'template' => [
'title' => 'visiosoft.theme.base::section.template', 'title' => 'visiosoft.theme.base::section.template',
'fields' => [ 'fields' => [
'style', 'gallery_box_height','style',
], ],
], ],
], ],

View File

@ -71,4 +71,10 @@ return [
'style' => [ 'style' => [
'type' => 'anomaly.field_type.editor', 'type' => 'anomaly.field_type.editor',
], ],
'gallery_box_height' => [
'type' => 'anomaly.field_type.integer',
'config' => [
'default_value' => 500
],
],
]; ];

View File

@ -1,5 +1,5 @@
.product-hb { .product-hb {
height: 500px; height: {{ setting_value('visiosoft.theme.base::gallery_box_height') }}px;
margin-bottom: 20px; margin-bottom: 20px;
} }

View File

@ -42,5 +42,8 @@ return [
], ],
'default_country' => [ 'default_country' => [
'name' => 'Register page, default country for phone', 'name' => 'Register page, default country for phone',
] ],
'gallery_box_height' => [
'name' => 'Gallery Box Height',
],
]; ];