Merge pull request #1279 from openclassify/vedat

added setting
This commit is contained in:
Muammer Top 2022-01-31 10:13:25 +03:00 committed by GitHub
commit 8695484722
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 3 deletions

View File

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

View File

@ -71,4 +71,10 @@ return [
'style' => [
'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 {
height: 500px;
height: {{ setting_value('visiosoft.theme.base::gallery_box_height') }}px;
margin-bottom: 20px;
}

View File

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