mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
added setting
This commit is contained in:
parent
30ff6a677d
commit
e432dcf244
@ -15,7 +15,7 @@ return [
|
||||
'template' => [
|
||||
'title' => 'visiosoft.theme.base::section.template',
|
||||
'fields' => [
|
||||
'style',
|
||||
'gallery_box_height','style',
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
@ -71,4 +71,10 @@ return [
|
||||
'style' => [
|
||||
'type' => 'anomaly.field_type.editor',
|
||||
],
|
||||
'gallery_box_height' => [
|
||||
'type' => 'anomaly.field_type.integer',
|
||||
'config' => [
|
||||
'default_value' => 500
|
||||
],
|
||||
],
|
||||
];
|
||||
@ -1,5 +1,5 @@
|
||||
.product-hb {
|
||||
height: 500px;
|
||||
height: {{ setting_value('visiosoft.theme.base::gallery_box_height') }}px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
|
||||
@ -42,5 +42,8 @@ return [
|
||||
],
|
||||
'default_country' => [
|
||||
'name' => 'Register page, default country for phone',
|
||||
]
|
||||
],
|
||||
'gallery_box_height' => [
|
||||
'name' => 'Gallery Box Height',
|
||||
],
|
||||
];
|
||||
Loading…
Reference in New Issue
Block a user